libvisiontransfer
10.6.0
|
STL-compatible allocator for memory-aligned allocations.
This is a helper class that is used internally for allocating memory that can be used with aligned SSE / AVX instructions.
Definition at line 56 of file alignedallocator.h.
#include <visiontransfer/alignedallocator.h>
Classes | |
struct | rebind |
Public Types | |
typedef T | value_type |
typedef value_type * | pointer |
typedef value_type & | reference |
typedef std::size_t | size_type |
typedef std::ptrdiff_t | difference_type |
Public Member Functions | |
AlignedAllocator (AlignedAllocator const &) | |
template<typename U > | |
AlignedAllocator (AlignedAllocator< U > const &) | |
pointer | address (reference r) |
const_pointer | address (const_reference r) |
pointer | allocate (size_type cnt, typename std::allocator< void >::const_pointer=0) |
void | deallocate (pointer p, size_type) |
size_type | max_size () const |
void | construct (pointer p, const T &t) |
void | destroy (pointer p) |
Public Attributes | |
const typedef value_type * | const_pointer |
const typedef value_type & | const_reference |