/home/ntakagi/work/STLport-5.1.5/stlport/stl/_uninitialized.h File Reference#include <stl/_cstring.h>
#include <stl/_algobase.h>
#include <stl/_construct.h>
Go to the source code of this file.
|
Functions |
| template<class _InputIter, class _OutputIter, class _Distance> |
_STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE
_OutputIter | __ucopy (_InputIter __first, _InputIter __last, _OutputIter __result, _Distance *) |
| template<class _InputIter, class _OutputIter, class _Distance> |
| _OutputIter | __ucopy (_InputIter __first, _InputIter __last, _OutputIter __result, const input_iterator_tag &, _Distance *__d) |
| template<class _RandomAccessIter, class _OutputIter, class _Distance> |
| _OutputIter | __ucopy (_RandomAccessIter __first, _RandomAccessIter __last, _OutputIter __result, const random_access_iterator_tag &, _Distance *) |
| template<class _RandomAccessIter, class _OutputIter> |
| _OutputIter | __ucopy (_RandomAccessIter __first, _RandomAccessIter __last, _OutputIter __result) |
| void * | __ucopy_trivial (const void *__first, const void *__last, void *__result) |
| template<class _InputIter, class _OutputIter> |
| _OutputIter | __ucopy_ptrs (_InputIter __first, _InputIter __last, _OutputIter __result, const __false_type &) |
| template<class _InputIter, class _OutputIter> |
| _OutputIter | __ucopy_ptrs (_InputIter __first, _InputIter __last, _OutputIter __result, const __true_type &) |
| template<class _InputIter, class _OutputIter> |
| _OutputIter | __ucopy_aux (_InputIter __first, _InputIter __last, _OutputIter __result, const __true_type &) |
| template<class _InputIter, class _OutputIter> |
| _OutputIter | __ucopy_aux (_InputIter __first, _InputIter __last, _OutputIter __result, const __false_type &) |
| template<class _InputIter, class _ForwardIter> |
_STLP_MOVE_TO_STD_NAMESPACE
_ForwardIter | uninitialized_copy (_InputIter __first, _InputIter __last, _ForwardIter __result) |
| char * | uninitialized_copy (const char *__first, const char *__last, char *__result) |
| template<class _InputIter, class _Size, class _ForwardIter> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_STLP_INLINE_LOOP pair< _InputIter,
_ForwardIter > | __ucopy_n (_InputIter __first, _Size __count, _ForwardIter __result, const input_iterator_tag &) |
| template<class _RandomAccessIter, class _Size, class _ForwardIter> |
| pair< _RandomAccessIter, _ForwardIter > | __ucopy_n (_RandomAccessIter __first, _Size __count, _ForwardIter __result, const random_access_iterator_tag &) |
| template<class _InputIter, class _Size, class _ForwardIter> |
| pair< _InputIter, _ForwardIter > | __ucopy_n (_InputIter __first, _Size __count, _ForwardIter __result) |
| template<class _InputIter, class _Size, class _ForwardIter> |
_STLP_MOVE_TO_STD_NAMESPACE
pair< _InputIter, _ForwardIter > | uninitialized_copy_n (_InputIter __first, _Size __count, _ForwardIter __result) |
| template<class _ForwardIter, class _Tp, class _Distance> |
_STLP_MOVE_TO_PRIV_NAMESPACE
void | __ufill (_ForwardIter __first, _ForwardIter __last, const _Tp &__x, _Distance *) |
| template<class _ForwardIter, class _Tp, class _Distance> |
| void | __ufill (_ForwardIter __first, _ForwardIter __last, const _Tp &__x, const input_iterator_tag &, _Distance *__d) |
| template<class _ForwardIter, class _Tp, class _Distance> |
| void | __ufill (_ForwardIter __first, _ForwardIter __last, const _Tp &__x, const random_access_iterator_tag &, _Distance *) |
| template<class _ForwardIter, class _Tp> |
_STLP_MOVE_TO_STD_NAMESPACE
void | uninitialized_fill (_ForwardIter __first, _ForwardIter __last, const _Tp &__x) |
| void | uninitialized_fill (unsigned char *__first, unsigned char *__last, const unsigned char &__val) |
| void | uninitialized_fill (signed char *__first, signed char *__last, const signed char &__val) |
| void | uninitialized_fill (char *__first, char *__last, const char &__val) |
| template<class _ForwardIter, class _Size, class _Tp> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_ForwardIter | __ufill_n (_ForwardIter __first, _Size __n, const _Tp &__x) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __ufill_n (_ForwardIter __first, _Size __n, const _Tp &__x, const input_iterator_tag &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uninitialized_fill_n (_ForwardIter __first, _Size __n, const _Tp &__x) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __ufill_n (_ForwardIter __first, _Size __n, const _Tp &__x, const random_access_iterator_tag &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uinit_aux_aux (_ForwardIter __first, _Size __n, const _Tp &__val, const __false_type &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uinit_aux_aux (_ForwardIter __first, _Size __n, const _Tp &__val, const __true_type &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uinit_aux (_ForwardIter __first, _Size __n, const _Tp &, const __true_type &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uinit_aux (_ForwardIter __first, _Size __n, const _Tp &__val, const __false_type &) |
| template<class _ForwardIter, class _Size, class _Tp> |
| _ForwardIter | __uninitialized_init (_ForwardIter __first, _Size __n, const _Tp &__val) |
| template<class _ForwardIter, class _Size, class _Tp> |
_STLP_MOVE_TO_STD_NAMESPACE
void | uninitialized_fill_n (_ForwardIter __first, _Size __n, const _Tp &__x) |
| template<class _InputIter1, class _InputIter2, class _ForwardIter> |
_STLP_MOVE_TO_PRIV_NAMESPACE
_ForwardIter | __uninitialized_copy_copy (_InputIter1 __first1, _InputIter1 __last1, _InputIter2 __first2, _InputIter2 __last2, _ForwardIter __result) |
| template<class _ForwardIter, class _Tp, class _InputIter> |
| _ForwardIter | __uninitialized_fill_copy (_ForwardIter __result, _ForwardIter __mid, const _Tp &__x, _InputIter __first, _InputIter __last) |
| template<class _Iter, class _Tp> |
| void | __uninitialized_copy_fill (_Iter __first1, _Iter __last1, _Iter __first2, _Iter __last2, const _Tp &__x) |
| template<class _InputIter, class _ForwardIter, class _TrivialUCpy> |
| _ForwardIter | __uninitialized_move (_InputIter __first, _InputIter __last, _ForwardIter __result, _TrivialUCpy __trivial_ucpy, const __false_type &) |
| template<class _InputIter, class _ForwardIter, class _TrivialUCpy> |
| _STLP_INLINE_LOOP _ForwardIter | __uninitialized_move (_InputIter __first, _InputIter __last, _ForwardIter __result, _TrivialUCpy, const __true_type &) |
Function Documentation
template<class _RandomAccessIter, class _OutputIter>
| _OutputIter __ucopy |
( |
_RandomAccessIter |
__first, |
|
|
_RandomAccessIter |
__last, |
|
|
_OutputIter |
__result | |
|
) |
| | [inline] |
template<class _RandomAccessIter, class _OutputIter, class _Distance>
| _OutputIter __ucopy |
( |
_RandomAccessIter |
__first, |
|
|
_RandomAccessIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const random_access_iterator_tag & |
, |
|
|
_Distance * |
| |
|
) |
| | [inline] |
template<class _InputIter, class _OutputIter, class _Distance>
| _OutputIter __ucopy |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const input_iterator_tag & |
, |
|
|
_Distance * |
__d | |
|
) |
| | [inline] |
template<class _InputIter, class _OutputIter, class _Distance>
| _STLP_BEGIN_NAMESPACE _STLP_MOVE_TO_PRIV_NAMESPACE _OutputIter __ucopy |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
_Distance * |
| |
|
) |
| | [inline] |
Definition at line 52 of file _uninitialized.h.
References _Destroy_Range(), _Param_Construct(), _STLP_RET_AFTER_THROW, _STLP_TRY, and _STLP_UNWIND.
Referenced by __ucopy(), __ucopy_aux(), __ucopy_ptrs(), basic_string< _CharT, _Traits, _Alloc >::_M_append(), deque< _Tp, >::_M_fill_insert_aux(), basic_string< _CharT, _Traits, _Alloc >::_M_insert(), deque< _Tp, >::_M_insert_range_aux(), deque< _Tp, >::deque(), basic_string< _CharT, _Traits, _Alloc >::insert(), deque< _Tp, >::insert(), and basic_string< _CharT, _Traits, _Alloc >::reserve().
template<class _InputIter, class _OutputIter>
| _OutputIter __ucopy_aux |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const __false_type & |
| |
|
) |
| | [inline] |
template<class _InputIter, class _OutputIter>
| _OutputIter __ucopy_aux |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const __true_type & |
| |
|
) |
| | [inline] |
template<class _InputIter, class _Size, class _ForwardIter>
| pair<_InputIter, _ForwardIter> __ucopy_n |
( |
_InputIter |
__first, |
|
|
_Size |
__count, |
|
|
_ForwardIter |
__result | |
|
) |
| | [inline] |
template<class _RandomAccessIter, class _Size, class _ForwardIter>
| pair<_RandomAccessIter, _ForwardIter> __ucopy_n |
( |
_RandomAccessIter |
__first, |
|
|
_Size |
__count, |
|
|
_ForwardIter |
__result, |
|
|
const random_access_iterator_tag & |
| |
|
) |
| | [inline] |
template<class _InputIter, class _Size, class _ForwardIter>
| _STLP_MOVE_TO_PRIV_NAMESPACE _STLP_INLINE_LOOP pair<_InputIter, _ForwardIter> __ucopy_n |
( |
_InputIter |
__first, |
|
|
_Size |
__count, |
|
|
_ForwardIter |
__result, |
|
|
const input_iterator_tag & |
| |
|
) |
| | |
Definition at line 162 of file _uninitialized.h.
References _Destroy_Range(), _Param_Construct(), _STLP_RET_AFTER_THROW, _STLP_TRY, and _STLP_UNWIND.
Referenced by __ucopy_n(), rope< _CharT, _Alloc >::_S_destr_leaf_concat_char_iter(), rope< _CharT, _Alloc >::_S_leaf_concat_char_iter(), rope< _CharT, _Alloc >::_S_RopeLeaf_from_unowned_char_ptr(), _Rope_RopeSubstring< _CharT, _Alloc >::operator()(), _Rope_flatten_char_consumer< _CharT >::operator()(), and uninitialized_copy_n().
template<class _InputIter, class _OutputIter>
| _OutputIter __ucopy_ptrs |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const __true_type & |
| |
|
) |
| | [inline] |
template<class _InputIter, class _OutputIter>
| _OutputIter __ucopy_ptrs |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_OutputIter |
__result, |
|
|
const __false_type & |
| |
|
) |
| | [inline] |
| void* __ucopy_trivial |
( |
const void * |
__first, |
|
|
const void * |
__last, |
|
|
void * |
__result | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Tp, class _Distance>
| void __ufill |
( |
_ForwardIter |
__first, |
|
|
_ForwardIter |
__last, |
|
|
const _Tp & |
__x, |
|
|
const random_access_iterator_tag & |
, |
|
|
_Distance * |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Tp, class _Distance>
| void __ufill |
( |
_ForwardIter |
__first, |
|
|
_ForwardIter |
__last, |
|
|
const _Tp & |
__x, |
|
|
const input_iterator_tag & |
, |
|
|
_Distance * |
__d | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Tp, class _Distance>
| _STLP_MOVE_TO_PRIV_NAMESPACE void __ufill |
( |
_ForwardIter |
__first, |
|
|
_ForwardIter |
__last, |
|
|
const _Tp & |
__x, |
|
|
_Distance * |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __ufill_n |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__x, |
|
|
const input_iterator_tag & |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _STLP_MOVE_TO_PRIV_NAMESPACE _ForwardIter __ufill_n |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uinit_aux |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__val, |
|
|
const __false_type & |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uinit_aux |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
, |
|
|
const __true_type & |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uinit_aux_aux |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__val, |
|
|
const __true_type & |
| |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uinit_aux_aux |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__val, |
|
|
const __false_type & |
| |
|
) |
| | [inline] |
template<class _InputIter1, class _InputIter2, class _ForwardIter>
| _STLP_MOVE_TO_PRIV_NAMESPACE _ForwardIter __uninitialized_copy_copy |
( |
_InputIter1 |
__first1, |
|
|
_InputIter1 |
__last1, |
|
|
_InputIter2 |
__first2, |
|
|
_InputIter2 |
__last2, |
|
|
_ForwardIter |
__result | |
|
) |
| | [inline] |
template<class _Iter, class _Tp>
| void __uninitialized_copy_fill |
( |
_Iter |
__first1, |
|
|
_Iter |
__last1, |
|
|
_Iter |
__first2, |
|
|
_Iter |
__last2, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Tp, class _InputIter>
| _ForwardIter __uninitialized_fill_copy |
( |
_ForwardIter |
__result, |
|
|
_ForwardIter |
__mid, |
|
|
const _Tp & |
__x, |
|
|
_InputIter |
__first, |
|
|
_InputIter |
__last | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uninitialized_fill_n |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
Definition at line 313 of file _uninitialized.h.
References __ufill(), and random_access_iterator_tag.
Referenced by __ufill_n(), __uinit_aux_aux(), vector< _Tp, >::_M_fill_assign(), basic_string< _CharT, _Traits, _Alloc >::append(), basic_string< char, char_traits< char >, allocator< char > >::basic_string(), and basic_string< _CharT, _Traits, _Alloc >::insert().
template<class _ForwardIter, class _Size, class _Tp>
| _ForwardIter __uninitialized_init |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__val | |
|
) |
| | [inline] |
template<class _InputIter, class _ForwardIter, class _TrivialUCpy>
| _STLP_INLINE_LOOP _ForwardIter __uninitialized_move |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_ForwardIter |
__result, |
|
|
_TrivialUCpy |
, |
|
|
const __true_type & |
| |
|
) |
| | |
template<class _InputIter, class _ForwardIter, class _TrivialUCpy>
| _ForwardIter __uninitialized_move |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_ForwardIter |
__result, |
|
|
_TrivialUCpy |
__trivial_ucpy, |
|
|
const __false_type & |
| |
|
) |
| | [inline] |
| char* uninitialized_copy |
( |
const char * |
__first, |
|
|
const char * |
__last, |
|
|
char * |
__result | |
|
) |
| | [inline] |
template<class _InputIter, class _ForwardIter>
| _STLP_MOVE_TO_STD_NAMESPACE _ForwardIter uninitialized_copy |
( |
_InputIter |
__first, |
|
|
_InputIter |
__last, |
|
|
_ForwardIter |
__result | |
|
) |
| | [inline] |
template<class _InputIter, class _Size, class _ForwardIter>
| _STLP_MOVE_TO_STD_NAMESPACE pair<_InputIter, _ForwardIter> uninitialized_copy_n |
( |
_InputIter |
__first, |
|
|
_Size |
__count, |
|
|
_ForwardIter |
__result | |
|
) |
| | [inline] |
| void uninitialized_fill |
( |
char * |
__first, |
|
|
char * |
__last, |
|
|
const char & |
__val | |
|
) |
| | [inline] |
| void uninitialized_fill |
( |
signed char * |
__first, |
|
|
signed char * |
__last, |
|
|
const signed char & |
__val | |
|
) |
| | [inline] |
| void uninitialized_fill |
( |
unsigned char * |
__first, |
|
|
unsigned char * |
__last, |
|
|
const unsigned char & |
__val | |
|
) |
| | [inline] |
template<class _ForwardIter, class _Tp>
| _STLP_MOVE_TO_STD_NAMESPACE void uninitialized_fill |
( |
_ForwardIter |
__first, |
|
|
_ForwardIter |
__last, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
Definition at line 258 of file _uninitialized.h.
References __ufill(), _STLP_DISTANCE_TYPE, _STLP_ITERATOR_CATEGORY, and _STLP_PRIV.
Referenced by __uninitialized_copy_fill(), __uninitialized_fill_copy(), deque< _Tp, >::_M_fill_initialize(), deque< _Tp, >::_M_fill_insert(), and deque< _Tp, >::_M_fill_insert_aux().
template<class _ForwardIter, class _Size, class _Tp>
| _STLP_MOVE_TO_STD_NAMESPACE void uninitialized_fill_n |
( |
_ForwardIter |
__first, |
|
|
_Size |
__n, |
|
|
const _Tp & |
__x | |
|
) |
| | [inline] |
Generated on Mon Mar 10 15:32:50 2008 by
1.5.1
|