per_thread_allocator< _Tp > Class Template Reference#include <_pthread_alloc.h>
Detailed Descriptiontemplate<class _Tp>
|
typedef size_t per_thread_allocator< _Tp >::size_type |
Definition at line 288 of file _pthread_alloc.h.
typedef ptrdiff_t per_thread_allocator< _Tp >::difference_type |
Definition at line 289 of file _pthread_alloc.h.
typedef _Tp* per_thread_allocator< _Tp >::pointer |
Definition at line 290 of file _pthread_alloc.h.
typedef const _Tp* per_thread_allocator< _Tp >::const_pointer |
Definition at line 291 of file _pthread_alloc.h.
typedef _Tp& per_thread_allocator< _Tp >::reference |
Definition at line 292 of file _pthread_alloc.h.
typedef const _Tp& per_thread_allocator< _Tp >::const_reference |
Definition at line 293 of file _pthread_alloc.h.
typedef _Tp per_thread_allocator< _Tp >::value_type |
Definition at line 294 of file _pthread_alloc.h.
per_thread_allocator< _Tp >::per_thread_allocator | ( | ) | [inline] |
per_thread_allocator< _Tp >::per_thread_allocator | ( | const per_thread_allocator< _Tp > & | __a | ) | [inline] |
Definition at line 305 of file _pthread_alloc.h.
per_thread_allocator< _Tp >::~per_thread_allocator | ( | ) | [inline] |
Definition at line 312 of file _pthread_alloc.h.
pointer per_thread_allocator< _Tp >::address | ( | reference | __x | ) | const [inline] |
Definition at line 314 of file _pthread_alloc.h.
const_pointer per_thread_allocator< _Tp >::address | ( | const_reference | __x | ) | const [inline] |
Definition at line 315 of file _pthread_alloc.h.
_Tp* per_thread_allocator< _Tp >::allocate | ( | size_type | __n, | |
const void * | = 0 | |||
) | [inline] |
Definition at line 319 of file _pthread_alloc.h.
References __REINTERPRET_CAST, __THROW_BAD_ALLOC, per_thread_allocator< _Tp >::_M_state, _STLP_SHRED_BYTE, and per_thread_allocator< _Tp >::max_size().
void per_thread_allocator< _Tp >::deallocate | ( | pointer | __p, | |
size_type | __n | |||
) | [inline] |
Definition at line 337 of file _pthread_alloc.h.
References per_thread_allocator< _Tp >::_M_state, _STLP_ASSERT, and _STLP_SHRED_BYTE.
size_type per_thread_allocator< _Tp >::max_size | ( | ) | const [inline] |
Definition at line 347 of file _pthread_alloc.h.
Referenced by per_thread_allocator< _Tp >::allocate().
void per_thread_allocator< _Tp >::construct | ( | pointer | __p, | |
const _Tp & | __val | |||
) | [inline] |
void per_thread_allocator< _Tp >::destroy | ( | pointer | _p | ) | [inline] |
Definition at line 351 of file _pthread_alloc.h.
_Tp* per_thread_allocator< _Tp >::allocate | ( | size_type | __n, | |
size_type & | __allocated_n | |||
) | [inline] |
Definition at line 363 of file _pthread_alloc.h.
References __REINTERPRET_CAST, __THROW_BAD_ALLOC, per_thread_allocator< _Tp >::_M_state, _STLP_SHRED_BYTE, and per_thread_allocator< _Tp >::max_size().
__state_type* per_thread_allocator< _Tp >::_M_state |
Definition at line 354 of file _pthread_alloc.h.
Referenced by per_thread_allocator< _Tp >::allocate(), per_thread_allocator< _Tp >::deallocate(), operator==(), and per_thread_allocator< _Tp >::per_thread_allocator().