C++ named requirements: ContiguousContainer (since C++17)
A ContiguousContainer is a Container that stores objects in contiguous memory locations.
Requirements
The type X satisfies ContiguousContainer if
- The type X satisfies Container
- The type X supports LegacyRandomAccessIterators
- The member types
X::iterator
andX::const_iterator
are LegacyContiguousIterators (until C++20) contiguous_iterators (since C++20)
Contiguous containers in the standard library
pub | basic_string | stores and manipulates sequences of characters |
pub | array(C++11) | static contiguous array |
pub | vector | dynamic contiguous array |