Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8e06192

Browse files
jensmaurerzygoloid
authored andcommitted
[iterators] Replace 'could' and 'might'
as directed by ISO/CS.
1 parent b4fd86d commit 8e06192

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

source/iterators.tex

+4-7
Original file line numberDiff line numberDiff line change
@@ -2081,7 +2081,7 @@
20812081
The only valid use of an \tcode{operator*}
20822082
is on the left side of the assignment statement.
20832083
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.
20852085
\end{note}
20862086

20872087
\rSec3[forward.iterators]{Forward iterators}
@@ -2636,12 +2636,9 @@
26362636

26372637
\pnum
26382638
\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:
26452642

26462643
\begin{codeblock}
26472644
template<class T> struct iterator_traits<BinaryTreeIterator<T>> {

0 commit comments

Comments
 (0)