|
ReactOS 0.4.16-dev-1946-g52006dd
|
#include <_alloc.h>


Public Types | |
| typedef _Tp | value_type |
| typedef _Tp * | pointer |
| typedef const _Tp * | const_pointer |
| typedef _Tp & | reference |
| typedef const _Tp & | const_reference |
| typedef size_t | size_type |
| typedef ptrdiff_t | difference_type |
Public Types inherited from __stlport_class< allocator< _Tp > > | |
| typedef allocator< _Tp > | _Type |
Public Member Functions | |
| allocator () _STLP_NOTHROW | |
| allocator (const allocator< _Tp > &) _STLP_NOTHROW | |
| allocator (__move_source< allocator< _Tp > > src) _STLP_NOTHROW | |
| ~allocator () _STLP_NOTHROW | |
| pointer | address (reference __x) const |
| const_pointer | address (const_reference __x) const |
| _Tp * | allocate (size_type __n, const void *=0) |
| void | deallocate (pointer __p, size_type __n) |
| void | deallocate (pointer __p) const |
| size_type | max_size () const _STLP_NOTHROW |
| void | construct (pointer __p, const_reference __val) |
| void | destroy (pointer __p) |
| _Tp * | _M_allocate (size_type __n, size_type &__allocated_n) |
| typedef _Tp& allocator< _Tp >::reference |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Definition at line 301 of file _alloc.h.
Referenced by bad_alloc_test(), AllocatorTest::bad_alloc_test(), bad_alloc_test1(), and AllocatorTest::zero_allocation().
|
inline |
Definition at line 328 of file _alloc.h.
Definition at line 330 of file _alloc.h.
Referenced by allocator< _Tp >::_M_allocate(), and allocator< _Tp >::allocate().