uninitialized_fill_n function template — Fills uninitialized memory
template <class FwdIter, class Size, class T>
void uninitialized_fill_n(FwdIter first, Size n, const T& x);
The uninitialized_fill_n
function template is like the fill_n
algorithm, except it fills
uninitialized memory. Starting with first
, n
copies of x
are constructed using placement new
.
raw_storage_iterator class
template, uninitialized_fill
function template, fill_n
in <algorithm>
, new
keyword