libvisual
0.5.0
|
Aligned memory allocator. More...
#include <libvisual/lv_aligned_allocator.hpp>
Classes | |
struct | rebind |
Public Member Functions | |
template<typename U > | |
AlignedAllocator (AlignedAllocator< U, alignment > &) | |
pointer | address (reference x) const |
const_pointer | address (const_reference x) const |
pointer | allocate (size_type n, typename AlignedAllocator< void, alignment >::pointer=nullptr) |
void | deallocate (pointer ptr, size_type) noexcept |
size_type | max_size () const |
void | construct (pointer p, const_reference x) |
void | destroy (pointer p) |
Aligned memory allocator.
T | type of object to allocate |
alignment | alignment boundary |
AlignedAllocator is an implementation of the C++ Allocator concept for use with standard library containers.
Definition at line 12 of file lv_aligned_allocator.hpp.