_STLP_alloc_proxy Class Reference

class _STLP_alloc_proxy
Public Member Functions
_STLP_alloc_proxy(const _MaybeReboundAlloc &, _Value)
_STLP_alloc_proxy(__move_source< _Self >)
void_M_swap_alloc(_Self &)
_Tp *allocate(size_type, size_type &)
_Tp *allocate(size_type)
voidswap(_Self &)
Private Member Functions
void_M_swap_alloc(_Self &, const __true_type &)
void_M_swap_alloc(_Self &, const __false_type &)
_Tp *allocate(size_type, size_type &, const __true_type &)
_Tp *allocate(size_type, size_type &, const __false_type &)
Private Member Type Definitions
typedef_MaybeReboundAlloc _Base
typedef _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc > _Self
typedef_Base::size_type size_type
Public Attributes
_Value_M_data

Constructor & Destructor Documentation

_STLP_alloc_proxy(const _MaybeReboundAlloc &, _Value)

_STLP_alloc_proxy(const _MaybeReboundAlloc &__a,
_Value__p
)[inline]

Parameters

const _MaybeReboundAlloc & __a
_Value __p

_STLP_alloc_proxy(__move_source< _Self >)

_STLP_alloc_proxy(__move_source< _Self >src)[inline]

Parameters

__move_source< _Self > src

Member Functions Documentation

_M_swap_alloc(_Self &, const __true_type &)

void_M_swap_alloc(_Self &,
const __true_type &
)[private, inline]

Parameters

_Self &
const __true_type &

_M_swap_alloc(_Self &, const __false_type &)

void_M_swap_alloc(_Self &__x,
const __false_type &
)[private, inline]

Parameters

_Self & __x
const __false_type &

_M_swap_alloc(_Self &)

void_M_swap_alloc(_Self &__x)[inline]

Parameters

_Self & __x

allocate(size_type, size_type &)

_Tp *allocate(size_type__n,
size_type &__allocated_n
)[inline]

Parameters

size_type __n
size_type & __allocated_n

allocate(size_type)

_Tp *allocate(size_type__n)[inline]

Parameters

size_type __n

allocate(size_type, size_type &, const __true_type &)

_Tp *allocate(size_type__n,
size_type &__allocated_n,
const __true_type &
)[private, inline]

Parameters

size_type __n
size_type & __allocated_n
const __true_type &

allocate(size_type, size_type &, const __false_type &)

_Tp *allocate(size_type__n,
size_type &__allocated_n,
const __false_type &
)[private, inline]

Parameters

size_type __n
size_type & __allocated_n
const __false_type &

swap(_Self &)

voidswap(_Self &__x)[inline]

Parameters

_Self & __x

Member Type Definitions Documentation

Typedef _Base

typedef _MaybeReboundAlloc_Base[private]

Typedef _Self

typedef _STLP_alloc_proxy< _Value, _Tp, _MaybeReboundAlloc >_Self[private]

Typedef size_type

typedef _Base::size_typesize_type[private]

Member Data Documentation

_Value _M_data

_Value_M_data