|
OSVR-Core
|
STL compatible allocator to use with with 16 byte aligned types. More...
#include <Memory.h>
Classes | |
| struct | rebind |
Public Types | |
| typedef size_t | size_type |
| typedef std::ptrdiff_t | difference_type |
| typedef T * | pointer |
| typedef const T * | const_pointer |
| typedef T & | reference |
| typedef const T & | const_reference |
| typedef T | value_type |
Public Member Functions | |
| pointer | address (reference value) const |
| const_pointer | address (const_reference value) const |
| aligned_allocator (const aligned_allocator &) | |
| template<class U > | |
| aligned_allocator (const aligned_allocator< U > &) | |
| size_type | max_size () const |
| pointer | allocate (size_type num, const void *hint=0) |
| void | construct (pointer p, const T &value) |
| void | destroy (pointer p) |
| void | deallocate (pointer p, size_type) |
| bool | operator!= (const aligned_allocator< T > &) const |
| bool | operator== (const aligned_allocator< T > &) const |
STL compatible allocator to use with with 16 byte aligned types.
Example:
1.8.12