|
|
|
ALegacyContiguousIterator is aLegacyIterator whose logically adjacent elements are also physically adjacent in memory.
A pointer to an element of an array satisfies all requirements ofLegacyContiguousIterator.
Contents |
The typeIt satisfiesLegacyContiguousIterator if
And, for every
such that
then
The following standard library types areLegacyContiguousIterators.
value_type
other thanbool.Fancy pointer to object types are also required to satisfyLegacyContiguousIterator.
LegacyContiguousIterator is replaced with the | (since C++20) |
(C++20) | specifies that arandom_access_iterator is a contiguous iterator, referring to elements that are contiguous in memory(concept)[edit] |
Iterator library | provides definitions for iterators, iterator traits, adaptors, and utility functions |