Skip to content

Commit dcac5ea

Browse files
authored
[span.iterators] Fix cross-reference to container iterators (#6183)
The current cross-reference is to [containers.requirements], which is the whole containers requirements clause, including not just general containers, but also allocator-aware, reversible, sequence, associative, and unodered associative containers. It seems very unlikely that the cross-reference expects to be the intersection of all of those. Rather, the reference seems to intend just the [containers.reqmts] subclause, which adds just two useful constraints: random access iterators should support the 3-way comparison operator, and the interoperabiity of container iterators and const_iterators.
1 parent f584109 commit dcac5ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/containers.tex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18382,7 +18382,7 @@
1838218382
whose reference type is \tcode{reference}.
1838318383

1838418384
\pnum
18385-
All requirements on container iterators\iref{container.requirements} apply to
18385+
All requirements on container iterators\iref{container.reqmts} apply to
1838618386
\tcode{span::iterator} as well.
1838718387
\end{itemdescr}
1838818388

0 commit comments

Comments
 (0)