C++ named requirements: ContiguousContainer
From cppreference.com
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 and X::const_iterator are LegacyContiguousIterators (until C++20)
contiguous_iterator
s (since C++20)
Contiguous containers in the standard library
stores and manipulates sequences of characters (class template) | |
(C++11) |
static contiguous array (class template) |
dynamic contiguous array (class template) |