According to the cppref page of std::vector
:
iterator
LegacyRandomAccessIterator
Also from another cppref page:
The following standard library types are LegacyContiguousIterators:
vector::iterator
for value_type other than bool.
Which is correct?
Please login or Register to submit your answer