Top of document
©Copyright 1999 Rogue Wave Software

uninitialized_fill


     Memory Management

Summary

Algorithm that uses the language feature placement new to set values in a collection.

Contents

Synopsis

#include <memory>
template <class ForwardIterator, class T>
void uninitialized_fill(ForwardIterator first,
                        ForwardIterator last,
                        const T& x);

Description

uninitialized_fill initializes all of the items in the range [first, last) to the value x, using the language feature placement new.

See Also

uninitialized_fill_n


Top of document