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 | |
| pointer | address (reference r) const |
| const_pointer | address (const_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 |
| 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 |
|
inline | |||||||||||||
|
inline | |||||||||||||
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline | |||||||||||||