C++ named requirements: ContiguousContainer (od 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 (do C++20) contiguous_iterators (od 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 |