__allocator< _Tp, _Alloc > Struct Template Reference#include <_alloc_old.h>
Detailed Descriptiontemplate<class _Tp, class _Alloc>
|
typedef _Alloc __allocator< _Tp, _Alloc >::__underlying_alloc |
Definition at line 25 of file _alloc_old.h.
typedef size_t __allocator< _Tp, _Alloc >::size_type |
Definition at line 27 of file _alloc_old.h.
typedef ptrdiff_t __allocator< _Tp, _Alloc >::difference_type |
Definition at line 28 of file _alloc_old.h.
typedef _Tp* __allocator< _Tp, _Alloc >::pointer |
Definition at line 29 of file _alloc_old.h.
typedef const _Tp* __allocator< _Tp, _Alloc >::const_pointer |
Definition at line 30 of file _alloc_old.h.
typedef _Tp& __allocator< _Tp, _Alloc >::reference |
Definition at line 31 of file _alloc_old.h.
typedef const _Tp& __allocator< _Tp, _Alloc >::const_reference |
Definition at line 32 of file _alloc_old.h.
typedef _Tp __allocator< _Tp, _Alloc >::value_type |
Definition at line 33 of file _alloc_old.h.
__allocator< _Tp, _Alloc >::__allocator | ( | ) | [inline] |
Definition at line 40 of file _alloc_old.h.
__allocator< _Tp, _Alloc >::__allocator | ( | const _Alloc & | ) | [inline] |
Definition at line 41 of file _alloc_old.h.
__allocator< _Tp, _Alloc >::__allocator | ( | const __allocator< _Tp, _Alloc > & | __a | ) | [inline] |
Definition at line 42 of file _alloc_old.h.
pointer __allocator< _Tp, _Alloc >::address | ( | reference | __x | ) | const [inline] |
Definition at line 52 of file _alloc_old.h.
const_pointer __allocator< _Tp, _Alloc >::address | ( | const_reference | __x | ) | const [inline] |
Definition at line 55 of file _alloc_old.h.
_Tp* __allocator< _Tp, _Alloc >::allocate | ( | size_type | __n, | |
const void * | = 0 | |||
) | [inline] |
Definition at line 59 of file _alloc_old.h.
References __STATIC_CAST, __THROW_BAD_ALLOC, and __allocator< _Tp, _Alloc >::max_size().
void __allocator< _Tp, _Alloc >::deallocate | ( | pointer | __p, | |
size_type | __n | |||
) | [inline] |
Definition at line 68 of file _alloc_old.h.
size_type __allocator< _Tp, _Alloc >::max_size | ( | ) | const [inline] |
void __allocator< _Tp, _Alloc >::construct | ( | pointer | __p, | |
const_reference | __val | |||
) | [inline] |
void __allocator< _Tp, _Alloc >::destroy | ( | pointer | __p | ) | [inline] |
const __underlying_alloc& __allocator< _Tp, _Alloc >::__get_underlying_alloc | ( | ) | const [inline] |