Skip to content

Commit 05761a2

Browse files
[iterator.traits] Use "declare" for typedef-names
1 parent 88927ed commit 05761a2

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
@@ -896,15 +896,15 @@
896896
\begin{codeblock}
897897
iterator_traits<I>::iterator_category
898898
\end{codeblock}
899-
be defined as the iterator's iterator category.
899+
be declared as the iterator's iterator category.
900900
In addition, the types
901901
\indexlibrarymember{pointer}{iterator_traits}%
902902
\indexlibrarymember{reference}{iterator_traits}%
903903
\begin{codeblock}
904904
iterator_traits<I>::pointer
905905
iterator_traits<I>::reference
906906
\end{codeblock}
907-
shall be defined as the iterator's pointer and reference types;
907+
shall be declared as the iterator's pointer and reference types;
908908
that is, for an
909909
iterator object \tcode{a} of class type,
910910
the same type as
@@ -922,7 +922,7 @@
922922
iterator_traits<I>::difference_type
923923
iterator_traits<I>::reference
924924
\end{codeblock}
925-
may be defined as \keyword{void}.
925+
may be declared as \keyword{void}.
926926

927927
\pnum
928928
The definitions in this subclause make use of the following
@@ -1082,7 +1082,7 @@
10821082
the \oldconcept{InputIter\-ator} requirements\iref{input.iterators},
10831083
an \tcode{iterator_traits} specialization might have
10841084
\tcode{iterator_concept} denote \tcode{input_iterator_tag}
1085-
but not define \tcode{iterator_category}.
1085+
but not declare \tcode{iterator_category}.
10861086
\end{example}
10871087

10881088
\pnum

0 commit comments

Comments
 (0)