pthread_allocator< _Tp > Class Template Reference#include <_pthread_alloc.h>
Inheritance diagram for pthread_allocator< _Tp >: ![]()
Detailed Descriptiontemplate<class _Tp>
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| typedef size_t pthread_allocator< _Tp >::size_type |
Definition at line 100 of file _pthread_alloc.h.
| typedef ptrdiff_t pthread_allocator< _Tp >::difference_type |
Definition at line 101 of file _pthread_alloc.h.
| typedef _Tp* pthread_allocator< _Tp >::pointer |
Definition at line 102 of file _pthread_alloc.h.
| typedef const _Tp* pthread_allocator< _Tp >::const_pointer |
Definition at line 103 of file _pthread_alloc.h.
| typedef _Tp& pthread_allocator< _Tp >::reference |
Definition at line 104 of file _pthread_alloc.h.
| typedef const _Tp& pthread_allocator< _Tp >::const_reference |
Definition at line 105 of file _pthread_alloc.h.
| typedef _Tp pthread_allocator< _Tp >::value_type |
Definition at line 106 of file _pthread_alloc.h.
| pthread_allocator< _Tp >::pthread_allocator | ( | ) | [inline] |
Definition at line 114 of file _pthread_alloc.h.
| pthread_allocator< _Tp >::pthread_allocator | ( | const pthread_allocator< _Tp > & | a | ) | [inline] |
Definition at line 115 of file _pthread_alloc.h.
| pthread_allocator< _Tp >::~pthread_allocator | ( | ) | [inline] |
Definition at line 122 of file _pthread_alloc.h.
| pointer pthread_allocator< _Tp >::address | ( | reference | __x | ) | const [inline] |
Definition at line 124 of file _pthread_alloc.h.
| const_pointer pthread_allocator< _Tp >::address | ( | const_reference | __x | ) | const [inline] |
Definition at line 125 of file _pthread_alloc.h.
| _Tp* pthread_allocator< _Tp >::allocate | ( | size_type | __n, | |
| const void * | = 0 | |||
| ) | [inline] |
Definition at line 129 of file _pthread_alloc.h.
References __REINTERPRET_CAST, __THROW_BAD_ALLOC, _STLP_SHRED_BYTE, and pthread_allocator< _Tp >::max_size().
| void pthread_allocator< _Tp >::deallocate | ( | pointer | __p, | |
| size_type | __n | |||
| ) | [inline] |
| size_type pthread_allocator< _Tp >::max_size | ( | ) | const [inline] |
Definition at line 157 of file _pthread_alloc.h.
Referenced by pthread_allocator< _Tp >::allocate().
| void pthread_allocator< _Tp >::construct | ( | pointer | __p, | |
| const _Tp & | __val | |||
| ) | [inline] |
| void pthread_allocator< _Tp >::destroy | ( | pointer | _p | ) | [inline] |
Definition at line 161 of file _pthread_alloc.h.
| _Tp* pthread_allocator< _Tp >::allocate | ( | size_type | __n, | |
| size_type & | __allocated_n | |||
| ) | [inline] |
Definition at line 170 of file _pthread_alloc.h.
References __REINTERPRET_CAST, __THROW_BAD_ALLOC, _STLP_SHRED_BYTE, and pthread_allocator< _Tp >::max_size().
1.5.1