std::array

Applies to: cpp

std::array is a fixed-size array wrapper with value semantics and STL-style methods.

std::array<double, 3> v{1, 2, 3};

See also: array, std-vector