Garmaine Staff asked 2 years ago

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?