PLaSK library
|
STL compatible allocator to use with with 16 byte aligned types. More...
#include <plask/memalloc.hpp>
Classes | |
struct | rebind |
Public Types | |
typedef std::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 () | |
aligned_allocator (const aligned_allocator &) | |
template<class U > | |
aligned_allocator (const aligned_allocator< U > &) | |
~aligned_allocator () | |
size_type | max_size () const |
pointer | allocate (size_type num) |
void | construct (pointer p, const T &value) |
template<typename... Args> | |
void | construct (pointer p, Args &&... args) |
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.
Definition at line 234 of file memalloc.hpp.
typedef const T* plask::aligned_allocator< T >::const_pointer |
Definition at line 239 of file memalloc.hpp.
typedef const T& plask::aligned_allocator< T >::const_reference |
Definition at line 241 of file memalloc.hpp.
typedef std::ptrdiff_t plask::aligned_allocator< T >::difference_type |
Definition at line 237 of file memalloc.hpp.
typedef T* plask::aligned_allocator< T >::pointer |
Definition at line 238 of file memalloc.hpp.
typedef T& plask::aligned_allocator< T >::reference |
Definition at line 240 of file memalloc.hpp.
typedef std::size_t plask::aligned_allocator< T >::size_type |
Definition at line 236 of file memalloc.hpp.
typedef T plask::aligned_allocator< T >::value_type |
Definition at line 242 of file memalloc.hpp.
|
inline |
Definition at line 251 of file memalloc.hpp.
|
inline |
Definition at line 253 of file memalloc.hpp.
|
inline |
Definition at line 256 of file memalloc.hpp.
|
inline |
Definition at line 258 of file memalloc.hpp.
|
inline |
Definition at line 249 of file memalloc.hpp.
|
inline |
Definition at line 247 of file memalloc.hpp.
|
inline |
Definition at line 262 of file memalloc.hpp.
|
inline |
Definition at line 267 of file memalloc.hpp.
|
inline |
Definition at line 264 of file memalloc.hpp.
|
inline |
Definition at line 271 of file memalloc.hpp.
|
inline |
Definition at line 269 of file memalloc.hpp.
|
inline |
Definition at line 260 of file memalloc.hpp.
|
inline |
Definition at line 273 of file memalloc.hpp.
|
inline |
Definition at line 275 of file memalloc.hpp.