Skip to content

Commit 498cd77

Browse files
Dani-Hubtkoeppe
authored andcommitted
[iterator.requirements.general] Clarify that "constexpr iterator" is a requirement to be met
[iterator.requirements.general] p16 says "Iterators are called _constexpr iterators_ [..]", but all referencing sections say "meet the constexpr iterator requirements". For clarity, we should reword the definition to make it clear that this is a named requirement.
1 parent fbf3d76 commit 498cd77

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

source/iterators.tex

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -714,12 +714,12 @@
714714

715715
\pnum
716716
\indextext{iterator!constexpr}%
717-
Iterators are called \defn{constexpr iterators}
717+
Iterators meet the \defn{constexpr iterator} requirements
718718
if all operations provided to meet iterator category requirements
719719
are constexpr functions.
720720
\begin{note}
721721
For example, the types ``pointer to \tcode{int}'' and
722-
\tcode{reverse_iterator<int*>} are constexpr iterators.
722+
\tcode{reverse_iterator<int*>} meet the constexpr iterator requirements.
723723
\end{note}
724724

725725
\rSec2[iterator.assoc.types]{Associated types}

0 commit comments

Comments
 (0)