std::array<T,N>::fill (3) - Linux Manuals
std::array<T,N>::fill: std::array<T,N>::fill
NAME
std::array<T,N>::fill - std::array<T,N>::fill
Synopsis
void fill( const T& value ); (since C++11)
constexpr void fill( const T& value ); (since C++20)
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.