W3cubDocs

/C++

std::dynarray::fill

void fill( const T& value );
(since {std})

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

Parameters

value - the value to assign to the elements

Return value

(none).

Complexity

Linear in the size of the container.

© cppreference.com
Licensed under the Creative Commons Attribution-ShareAlike Unported License v3.0.
http://en.cppreference.com/w/cpp/container/dynarray/fill