stl_uninitialized.h File Reference

#include <cstring>

Include dependency graph for stl_uninitialized.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  std

Functions

template<typename InputIter, typename ForwardIter>
ForwardIter uninitialized_copy (InputIter first, InputIter last, ForwardIter __result)
 Copies the range [first,last) into result.
template<typename ForwardIter, typename Type>
void uninitialized_fill (ForwardIter first, ForwardIter last, const Type &x)
 Copies the value x into the range [first,last).
template<typename ForwardIter, typename Size, typename Type>
ForwardIter uninitialized_fill_n (ForwardIter first, Size n, const Type &x)
 Copies the value x into the range [first,first+n).


Detailed Description

This is an internal header file, included by other library headers. You should not attempt to use it directly.

Definition in file stl_uninitialized.h.


Function Documentation

template<typename InputIter, typename ForwardIter>
ForwardIter uninitialized_copy InputIter  first,
InputIter  last,
ForwardIter  __result
[inline]
 

Copies the range [first,last) into result.

Parameters:
first An input iterator.
last An input iterator.
result An output iterator.
Returns:
result + (first - last)
Like copy(), but does not require an initialized output range.

Definition at line 108 of file stl_uninitialized.h.

Referenced by std::deque< Type, Alloc >::deque(), std::vector< Type, Alloc >::operator=(), and std::vector< Node *, Alloc >::vector().

template<typename ForwardIter, typename Type>
void uninitialized_fill ForwardIter  first,
ForwardIter  last,
const Type &  x
[inline]
 

Copies the value x into the range [first,last).

Parameters:
first An input iterator.
last An input iterator.
x The source value.
Returns:
Nothing.
Like fill(), but does not require an initialized output range.

Definition at line 166 of file stl_uninitialized.h.

template<typename ForwardIter, typename Size, typename Type>
ForwardIter uninitialized_fill_n ForwardIter  first,
Size  n,
const Type &  x
[inline]
 

Copies the value x into the range [first,first+n).

Parameters:
first An input iterator.
n The number of copies to make.
x The source value.
Returns:
first+n
Like fill_n(), but does not require an initialized output range.

Definition at line 212 of file stl_uninitialized.h.

Referenced by std::vector< Node *, Alloc >::vector().


Generated on Thu Feb 10 23:23:38 2005 for libstdc++-v3 Source by  doxygen 1.4.0