Function fill

Synopsis

#include <include/EASTL/array.h>

void fill(const value_type &value)

Description

We intentionally provide no constructor, destructor, or assignment operator.

template deduction guides

array

Source

Lines 145-149 in include/EASTL/array.h. Line 86 in include/EASTL/array.h.

template <typename T, size_t N>
inline void array<T, N>::fill(const value_type& value)
{
    eastl::fill_n(&mValue[0], N, value);
}





Add Discussion as Guest

Log in