vecpp :: Vec<typename, size_t>

vecpp::Vec::Vec

Vec<T, L> does not define a constructor per-se, but instead relies entirely on aggregate initialization.

default construction

Default-constructing a vector will leave it in an undefined state.

N.B.

Examples:

// default construction
Vec<float, 3> vec;

// value-construction
Vec<float, 3> y_axis = {0.0f, 1.0f, 0.0f};

// copy-construction
Vec<float, 3> y_axis_copy = y_axis;