std::array::fill

From Cppreference

Jump to: navigation, search
void fill( const T& value );
(C++11 feature)

Assigns the given value value to all elements in the container.

[edit] Parameters

value - the value to assign to the elements

[edit] Return value

(none)

[edit] Complexity

linear in the size of the container