C++ named requirements: ContiguousContainer (since C++17)
From cppreference.com
A ContiguousContainer is a Container that stores objects in contiguous memory locations.
[edit] Requirements
The type X
satisfies ContiguousContainer if
- The type
X
satisfies Container - The type
X
supports LegacyRandomAccessIterators - The member types X::iterator and X::const_iterator are LegacyContiguousIterators(until C++20)
contiguous_iterator
s(since C++20)
[edit] Contiguous containers in the standard library
stores and manipulates sequences of characters (class template) | |
dynamic contiguous array (class template) | |
(C++11) |
fixed-sized inplace contiguous array (class template) |
(C++26) |
dynamically-resizable, fixed capacity, inplace contiguous array (class template) |