File tree 1 file changed +4
-7
lines changed
1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 2081
2081
The only valid use of an \tcode {operator*}
2082
2082
is on the left side of the assignment statement.
2083
2083
Assignment through the same value of the iterator happens only once.
2084
- Equality and inequality might not be defined.
2084
+ Equality and inequality are not necessarily defined.
2085
2085
\end {note }
2086
2086
2087
2087
\rSec 3[forward.iterators]{Forward iterators}
2636
2636
2637
2637
\pnum
2638
2638
\begin {example }
2639
- For a program-defined iterator
2640
- \tcode {BinaryTreeIterator},
2641
- it could be included
2642
- into the bidirectional iterator category by specializing the
2643
- \tcode {iterator_traits}
2644
- template:
2639
+ A program-defined iterator \tcode {BinaryTreeIterator}
2640
+ can be included into the bidirectional iterator category by
2641
+ specializing the \tcode {iterator_traits} template:
2645
2642
2646
2643
\begin {codeblock }
2647
2644
template<class T> struct iterator_traits<BinaryTreeIterator<T>> {
You can’t perform that action at this time.
0 commit comments