Library: General utilities
Function
A function that initializes elements within a memory range to a specified value
#include <memory>
namespace std {
template <class ForwardIterator, class Size, class T>
void
uninitialized_fill_n(ForwardIterator start, Size n,
const T& x);
}
The algorithm unitialized_fill_n() starts at the iterator start and initializes the first n items to the value x, using placement new.
ISO/IEC 14882:1998 -- International Standard for Information Systems -- Programming Language C++, Section 20.4.4.3