Przejdź do głównej zawartości

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

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 (od 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