Skip to content

Commit aed792a

Browse files
[iterator.traits] Use "declare" for typedef-names
1 parent 20d947a commit aed792a

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/iterators.tex

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -929,15 +929,15 @@
929929
\begin{codeblock}
930930
iterator_traits<I>::iterator_category
931931
\end{codeblock}
932-
be defined as the iterator's iterator category.
932+
be declared as the iterator's iterator category.
933933
In addition, the types
934934
\indexlibrarymember{pointer}{iterator_traits}%
935935
\indexlibrarymember{reference}{iterator_traits}%
936936
\begin{codeblock}
937937
iterator_traits<I>::pointer
938938
iterator_traits<I>::reference
939939
\end{codeblock}
940-
shall be defined as the iterator's pointer and reference types;
940+
shall be declared as the iterator's pointer and reference types;
941941
that is, for an
942942
iterator object \tcode{a} of class type,
943943
the same type as
@@ -955,7 +955,7 @@
955955
iterator_traits<I>::difference_type
956956
iterator_traits<I>::reference
957957
\end{codeblock}
958-
may be defined as \keyword{void}.
958+
may be declared as \keyword{void}.
959959

960960
\pnum
961961
The definitions in this subclause make use of the following
@@ -1115,7 +1115,7 @@
11151115
the \oldconcept{InputIter\-ator} requirements\iref{input.iterators},
11161116
an \tcode{iterator_traits} specialization might have
11171117
\tcode{iterator_concept} denote \tcode{input_iterator_tag}
1118-
but not define \tcode{iterator_category}.
1118+
but not declare \tcode{iterator_category}.
11191119
\end{example}
11201120

11211121
\pnum

0 commit comments

Comments
 (0)