Skip to main content

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

Contiguous containers in the standard library

pubbasic_stringstores and manipulates sequences of characters
pubarray(C++11)static contiguous array
pubvectordynamic contiguous array

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

Contiguous containers in the standard library

pubbasic_stringstores and manipulates sequences of characters
pubarray(C++11)static contiguous array
pubvectordynamic contiguous array