/home/ntakagi/work/STLport-5.1.5/stlport/stl/_construct.h File Reference

#include <stl/_cstring.h>
#include <stl/_new.h>
#include <stl/_iterator_base.h>
#include <stl/_move_construct_fwk.h>

Go to the source code of this file.

Defines

#define _STLP_DEFAULT_CONSTRUCTED(_TTp)   _TTp()

Functions

template<class _Tp>
_STLP_BEGIN_NAMESPACE void __destroy_aux (_Tp *__pointer, const __false_type &)
template<class _Tp>
void __destroy_aux (_Tp *, const __true_type &)
template<class _Tp>
void _Destroy (_Tp *__pointer)
template<class _Tp>
void _Destroy_Moved (_Tp *__pointer)
template<class _T1>
void _Construct (_T1 *__p)
template<class _Tp>
void _Copy_Construct (_Tp *__p, const _Tp &__val)
template<class _T1, class _T2>
void _Param_Construct (_T1 *__p, const _T2 &__val)
template<class _T1, class _T2>
void _Move_Construct_Aux (_T1 *__p, _T2 &__val, const __false_type &)
template<class _T1, class _T2>
void _Move_Construct_Aux (_T1 *__p, _T2 &__val, const __true_type &)
template<class _T1, class _T2>
void _Move_Construct (_T1 *__p, _T2 &__val)
template<class _ForwardIterator, class _Tp>
_STLP_INLINE_LOOP void __destroy_range_aux (_ForwardIterator __first, _ForwardIterator __last, _Tp *, const __false_type &)
template<class _ForwardIterator, class _Tp>
void __destroy_range_aux (_ForwardIterator, _ForwardIterator, _Tp *, const __true_type &)
template<class _ForwardIterator, class _Tp>
void __destroy_range (_ForwardIterator __first, _ForwardIterator __last, _Tp *__ptr)
template<class _ForwardIterator>
void _Destroy_Range (_ForwardIterator __first, _ForwardIterator __last)
void _Destroy_Range (char *, char *)
template<class _ForwardIterator, class _Tp>
void __destroy_mv_srcs (_ForwardIterator __first, _ForwardIterator __last, _Tp *__ptr)
template<class _ForwardIterator>
void _Destroy_Moved_Range (_ForwardIterator __first, _ForwardIterator __last)
template<class _T1, class _T2>
void construct (_T1 *__p, const _T2 &__val)
template<class _T1>
void construct (_T1 *__p)
template<class _Tp>
void destroy (_Tp *__pointer)
template<class _ForwardIterator>
void destroy (_ForwardIterator __first, _ForwardIterator __last)


Define Documentation


Function Documentation

template<class _Tp>
void __destroy_aux ( _Tp *  ,
const __true_type  
) [inline]

Definition at line 56 of file _construct.h.

template<class _Tp>
_STLP_BEGIN_NAMESPACE void __destroy_aux ( _Tp *  __pointer,
const __false_type  
) [inline]

Definition at line 52 of file _construct.h.

Referenced by __destroy_range_aux(), _Destroy(), and _Destroy_Moved().

template<class _ForwardIterator, class _Tp>
void __destroy_mv_srcs ( _ForwardIterator  __first,
_ForwardIterator  __last,
_Tp *  __ptr 
) [inline]

Definition at line 192 of file _construct.h.

References __destroy_range_aux().

Referenced by _Destroy_Moved_Range().

template<class _ForwardIterator, class _Tp>
void __destroy_range ( _ForwardIterator  __first,
_ForwardIterator  __last,
_Tp *  __ptr 
) [inline]

Definition at line 174 of file _construct.h.

References __destroy_range_aux().

Referenced by _Destroy_Range().

template<class _ForwardIterator, class _Tp>
void __destroy_range_aux ( _ForwardIterator  ,
_ForwardIterator  ,
_Tp *  ,
const __true_type  
) [inline]

Definition at line 169 of file _construct.h.

template<class _ForwardIterator, class _Tp>
_STLP_INLINE_LOOP void __destroy_range_aux ( _ForwardIterator  __first,
_ForwardIterator  __last,
_Tp *  ,
const __false_type  
)

Definition at line 151 of file _construct.h.

References __destroy_aux(), and _STLP_SHRED_BYTE.

Referenced by __destroy_mv_srcs(), and __destroy_range().

template<class _Tp>
void _Destroy_Moved ( _Tp *  __pointer  )  [inline]

template<class _ForwardIterator>
void _Destroy_Moved_Range ( _ForwardIterator  __first,
_ForwardIterator  __last 
) [inline]

Definition at line 198 of file _construct.h.

References __destroy_mv_srcs(), and _STLP_VALUE_TYPE.

Referenced by deque< _Tp, >::_M_erase().

void _Destroy_Range ( char *  ,
char *   
) [inline]

Definition at line 184 of file _construct.h.

template<class _T1, class _T2>
void _Move_Construct ( _T1 *  __p,
_T2 &  __val 
) [inline]

template<class _T1, class _T2>
void _Move_Construct_Aux ( _T1 *  __p,
_T2 &  __val,
const __true_type  
) [inline]

Definition at line 130 of file _construct.h.

References _STLP_PLACEMENT_NEW.

template<class _T1, class _T2>
void _Move_Construct_Aux ( _T1 *  __p,
_T2 &  __val,
const __false_type  
) [inline]

Definition at line 125 of file _construct.h.

References _AsMoveSource(), _STLP_PLACEMENT_NEW, and _STLP_PRIV.

Referenced by _Move_Construct().

template<class _T1, class _T2>
void _Param_Construct ( _T1 *  __p,
const _T2 &  __val 
) [inline]

template<class _T1>
void construct ( _T1 *  __p  )  [inline]

Definition at line 232 of file _construct.h.

References _Construct().

template<class _T1, class _T2>
void construct ( _T1 *  __p,
const _T2 &  __val 
) [inline]

Definition at line 230 of file _construct.h.

References _Param_Construct().

template<class _ForwardIterator>
void destroy ( _ForwardIterator  __first,
_ForwardIterator  __last 
) [inline]

Definition at line 236 of file _construct.h.

References _Destroy_Range().

template<class _Tp>
void destroy ( _Tp *  __pointer  )  [inline]

Definition at line 234 of file _construct.h.

References _Destroy().



Generated on Mon Mar 10 15:32:49 2008 by  doxygen 1.5.1