uninitialized_copy function template — Copies into uninitialized memory
template <class InputIter, class FwdIter>
FwdIter uninitialized_copy(InputIter first, InputIter last, FwdIter result);
The uninitialized_copy
function template is like the copy
algorithm, except the result
iterator is assumed to point to
uninitialized memory. The range [first
, last
) is copied to result
using placement new
.
raw_storage_iterator class
template, uninitialized_fill
function template, copy
in
<algorithm>
, new
operator