#include <allocator.h>
Classes | |
| struct | rebind |
Public Types | |
| typedef const _Tp * | const_pointer |
| typedef const _Tp & | const_reference |
| typedef ptrdiff_t | difference_type |
| typedef _Tp * | pointer |
| typedef _Tp & | reference |
| typedef size_t | size_type |
| typedef _Tp | value_type |
Public Member Functions | |
| const_pointer | address (const_reference __x) const |
| pointer | address (reference __x) const |
| _Tp * | allocate (size_type n, const void *=0) |
| template<typename _Tp1 > | |
| Allocator (const Allocator< _Tp1 > &) throw () | |
| Allocator () throw () | |
| void | construct (pointer __p, const _Tp &__val) |
| void | deallocate (_Tp *p, size_type n) |
| void | destroy (pointer __p) |
| size_type | max_size () const throw () |
| ~Allocator () throw () | |
Bridges STL with falcon memory allocation.
| typedef const _Tp* Falcon::Allocator< _Tp >::const_pointer |
| typedef const _Tp& Falcon::Allocator< _Tp >::const_reference |
| typedef ptrdiff_t Falcon::Allocator< _Tp >::difference_type |
| typedef _Tp* Falcon::Allocator< _Tp >::pointer |
| typedef _Tp& Falcon::Allocator< _Tp >::reference |
| typedef size_t Falcon::Allocator< _Tp >::size_type |
| typedef _Tp Falcon::Allocator< _Tp >::value_type |
| Falcon::Allocator< _Tp >::Allocator | ( | ) | throw () [inline] |
| Falcon::Allocator< _Tp >::Allocator | ( | const Allocator< _Tp1 > & | ) | throw () [inline] |
| Falcon::Allocator< _Tp >::~Allocator | ( | ) | throw () [inline] |
| const_pointer Falcon::Allocator< _Tp >::address | ( | const_reference | __x | ) | const [inline] |
| pointer Falcon::Allocator< _Tp >::address | ( | reference | __x | ) | const [inline] |
| _Tp* Falcon::Allocator< _Tp >::allocate | ( | size_type | n, | |
| const void * | = 0 | |||
| ) | [inline] |
References Falcon::memAlloc.
| void Falcon::Allocator< _Tp >::construct | ( | pointer | __p, | |
| const _Tp & | __val | |||
| ) | [inline] |
| void Falcon::Allocator< _Tp >::deallocate | ( | _Tp * | p, | |
| size_type | n | |||
| ) | [inline] |
References Falcon::memFree.
| void Falcon::Allocator< _Tp >::destroy | ( | pointer | __p | ) | [inline] |
| size_type Falcon::Allocator< _Tp >::max_size | ( | ) | const throw () [inline] |
1.5.8