
Memory Management
An algorithm that uses the construct algorithm for setting values in a collection.
None
#include <memory>
template <class ForwardIterator, class Size, class T>
void
uninitialized_fill_n (ForwardIterator first, Size n,
const T& x);
unitialized_fill_n starts at the iterator first and initializes the first n items to the value x, using the construct algorithm.
construct, uninitialized_fill