Aligned allocator that is compatible with C++11 See: https://bitbucket.org/eigen/eigen/commits/f5b7700.
Definition at line 22 of file aligned_allocator.h.
#include <mrpt/utils/aligned_allocator.h>

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 | |
| aligned_allocator_cpp11 () | |
| aligned_allocator_cpp11 (const aligned_allocator_cpp11 &other) | |
| template<class U > | |
| aligned_allocator_cpp11 (const aligned_allocator_cpp11< U > &other) | |
| ~aligned_allocator_cpp11 () | |
| pointer | allocate (size_type num, const void *=nullptr) |
| void | deallocate (pointer p, size_type) |
Public Attributes | |
| T | elements |
| STL member. More... | |
| typedef const T* mrpt::aligned_allocator_cpp11< T, AligmentBytes >::const_pointer |
Definition at line 28 of file aligned_allocator.h.
| typedef const T& mrpt::aligned_allocator_cpp11< T, AligmentBytes >::const_reference |
Definition at line 30 of file aligned_allocator.h.
| typedef std::ptrdiff_t mrpt::aligned_allocator_cpp11< T, AligmentBytes >::difference_type |
Definition at line 26 of file aligned_allocator.h.
| typedef T* mrpt::aligned_allocator_cpp11< T, AligmentBytes >::pointer |
Definition at line 27 of file aligned_allocator.h.
| typedef T& mrpt::aligned_allocator_cpp11< T, AligmentBytes >::reference |
Definition at line 29 of file aligned_allocator.h.
| typedef std::size_t mrpt::aligned_allocator_cpp11< T, AligmentBytes >::size_type |
Definition at line 25 of file aligned_allocator.h.
| typedef T mrpt::aligned_allocator_cpp11< T, AligmentBytes >::value_type |
Definition at line 31 of file aligned_allocator.h.
|
inline |
Definition at line 39 of file aligned_allocator.h.
|
inline |
Definition at line 40 of file aligned_allocator.h.
|
inline |
Definition at line 46 of file aligned_allocator.h.
|
inline |
Definition at line 51 of file aligned_allocator.h.
|
inline |
Definition at line 52 of file aligned_allocator.h.
References mrpt::system::os::aligned_malloc().

|
inline |
Definition at line 58 of file aligned_allocator.h.
References mrpt::system::os::aligned_free().

|
inherited |
STL member.
| Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019 |