|
T * | address (T &r) const |
|
const T * | address (const T &s) const |
|
std::size_t | max_size () const |
|
bool | operator!= (const aligned_allocator &other) const |
|
void | construct (T *const p, const T &t) const |
|
void | destroy (T *const p) const |
|
bool | operator== (const aligned_allocator &other) const |
|
| aligned_allocator (const aligned_allocator &) |
|
template<typename U > |
| aligned_allocator (const aligned_allocator< U, Alignment > &) |
|
T * | allocate (const std::size_t n) const |
|
void | deallocate (T *const p, const std::size_t) const |
|
template<typename U > |
T * | allocate (const std::size_t n, const U *) const |
|
template<typename T, std::size_t Alignment>
class aligned_allocator< T, Alignment >
Aligned allocator for STL containers.
- Template Parameters
-
T | Data type. |
Alignment | Alignment. |