Main Page | Modules | Namespace List | Class Hierarchy | Class List | File List | Namespace Members | Class Members | File Members

Raw Storage Algorithms
[Algorithms]


Functions

template<typename T>
void ustl::construct (T *p)
template<typename ForwardIterator>
void ustl::construct (ForwardIterator first, ForwardIterator last)
template<typename T>
void ustl::construct (T *p, const T &value)
template<typename T>
void ustl::destroy (T *p)
template<typename ForwardIterator>
void ustl::destroy (ForwardIterator first, ForwardIterator last)
template<typename InputIterator, typename ForwardIterator>
ForwardIterator ustl::uninitialized_copy (InputIterator first, InputIterator last, ForwardIterator result)
template<typename InputIterator, typename ForwardIterator>
ForwardIterator ustl::uninitialized_copy_n (InputIterator first, size_t n, ForwardIterator result)
template<typename ForwardIterator, typename T>
void ustl::uninitialized_fill (ForwardIterator first, ForwardIterator last, const T &v)
template<typename ForwardIterator, typename T>
ForwardIterator ustl::uninitialized_fill_n (ForwardIterator first, size_t n, const T &v)

Detailed Description

Algorithms for manipulating unstructured memory.

Function Documentation

template<typename T>
void construct T *  p,
const T &  value
[inline]
 

Calls the placement new on p.

template<typename ForwardIterator>
void construct ForwardIterator  first,
ForwardIterator  last
 

Calls the placement new on p.

template<typename T>
void construct T *  p  )  [inline]
 

Calls the placement new on p.

template<typename ForwardIterator>
void destroy ForwardIterator  first,
ForwardIterator  last
 

Calls the destructor on elements in range [first, last) without calling delete.

template<typename T>
void destroy T *  p  )  [inline]
 

Calls the destructor of p without calling delete.

template<typename InputIterator, typename ForwardIterator>
ForwardIterator uninitialized_copy InputIterator  first,
InputIterator  last,
ForwardIterator  result
 

Copies [first, last) into result by calling copy constructors in result.

template<typename InputIterator, typename ForwardIterator>
ForwardIterator uninitialized_copy_n InputIterator  first,
size_t  n,
ForwardIterator  result
 

Copies [first, first + n) into result by calling copy constructors in result.

template<typename ForwardIterator, typename T>
void uninitialized_fill ForwardIterator  first,
ForwardIterator  last,
const T &  v
 

Calls construct on all elements in [first, last) with value v.

template<typename ForwardIterator, typename T>
ForwardIterator uninitialized_fill_n ForwardIterator  first,
size_t  n,
const T &  v
 

Calls construct on all elements in [first, first + n) with value v.


Generated on Mon Jan 17 14:35:02 2005 for uSTL by 1.3.9 Doxygen Hosted on SourceForge.net