$search
An stl-compatible aligned allocator. More...
#include <aligned.h>
Classes | |
struct | rebind |
Public Types | |
typedef const T * | const_pointer |
typedef const T & | const_reference |
typedef ptrdiff_t | difference_type |
typedef T * | pointer |
typedef T & | reference |
typedef size_t | size_type |
typedef T | value_type |
Public Member Functions | |
const_pointer | address (const_reference r) const |
pointer | address (reference r) const |
AlignedAllocator () throw () | |
pointer | allocate (size_type n, typename AlignedAllocator< void, align >::const_pointer hint=0) |
void | construct (pointer p, const_reference val) |
void | deallocate (pointer p, size_type n) |
void | destroy (pointer p) |
size_type | max_size () const throw () |
~AlignedAllocator () throw () |
An stl-compatible aligned allocator.
T | The type of the container element | |
align | The alignment to allocate on |
Definition at line 110 of file aligned.h.
typedef const T* allocators::AlignedAllocator< T, align >::const_pointer |
typedef const T& allocators::AlignedAllocator< T, align >::const_reference |
typedef ptrdiff_t allocators::AlignedAllocator< T, align >::difference_type |
typedef T* allocators::AlignedAllocator< T, align >::pointer |
typedef T& allocators::AlignedAllocator< T, align >::reference |
typedef size_t allocators::AlignedAllocator< T, align >::size_type |
typedef T allocators::AlignedAllocator< T, align >::value_type |
allocators::AlignedAllocator< T, align >::AlignedAllocator | ( | ) | throw () [inline] |
allocators::AlignedAllocator< T, align >::~AlignedAllocator | ( | ) | throw () [inline] |
const_pointer allocators::AlignedAllocator< T, align >::address | ( | const_reference | r | ) | const [inline] |
pointer allocators::AlignedAllocator< T, align >::address | ( | reference | r | ) | const [inline] |
pointer allocators::AlignedAllocator< T, align >::allocate | ( | size_type | n, | |
typename AlignedAllocator< void, align >::const_pointer | hint = 0 | |||
) | [inline] |
void allocators::AlignedAllocator< T, align >::construct | ( | pointer | p, | |
const_reference | val | |||
) | [inline] |
void allocators::AlignedAllocator< T, align >::deallocate | ( | pointer | p, | |
size_type | n | |||
) | [inline] |
void allocators::AlignedAllocator< T, align >::destroy | ( | pointer | p | ) | [inline] |
size_type allocators::AlignedAllocator< T, align >::max_size | ( | ) | const throw () [inline] |