You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
23.2.3[sequence.reqmts]/5 says "iterator and const_iterator types for sequence containers shall be at least of the forward iterator category", but Table 96 up in 23.2.1[container.requirements.general] already said "any iterator category that meets the forward iterator requirements" for both X::iterator and X::const_iterator, for all containers. Shouldn't it be said only once?
The redundancy was introduced in 2008, when n2776 was applied to the working draft, changing general container requirements from input iterators to forward iterators (then "ForwardIterator concept")
The text was updated successfully, but these errors were encountered:
for sequence containers.
Any container is nowadays required to have forward iterators;
see the table entries for X::iterator and X::const_iterator in
[container.requirements.general].
Fixescplusplus#461.
… sequence containers (#1107)
Any container is nowadays required to have forward iterators;
see the table entries for X::iterator and X::const_iterator in
[container.requirements.general].
Fixes#461.
23.2.3[sequence.reqmts]/5
says "iterator
andconst_iterator
types for sequence containers shall be at least of the forward iterator category", but Table 96 up in23.2.1[container.requirements.general]
already said "any iterator category that meets the forward iterator requirements" for bothX::iterator
andX::const_iterator
, for all containers. Shouldn't it be said only once?The redundancy was introduced in 2008, when n2776 was applied to the working draft, changing general container requirements from input iterators to forward iterators (then "ForwardIterator concept")
The text was updated successfully, but these errors were encountered: