Name

uninitialized_fill function template — Fills uninitialized memory

Synopsis

template <class FwdIter, class T>
void uninitialized_fill(FwdIter first, FwdIter last, const T& x);

The uninitialized_fill function template is like the fill algorithm, except that it fills uninitialized memory. Every item in the range [first, last) is constructed as a copy of x using placement new.