Go to the documentation of this file.
14 #include <type_traits>
36 template <
class T,
size_t AligmentBytes = MRPT_MAX_ALIGN_BYTES>
56 : std::allocator<T>(other)
61 : std::allocator<T>(other)
void aligned_free(void *ptr)
Aligned allocator that is compatible with C++11.
aligned_allocator_cpp11()
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
void * aligned_malloc(size_t size, size_t alignment)
const T & const_reference
void * aligned_realloc(void *ptr, size_t size, size_t alignment)
std::ptrdiff_t difference_type
aligned_allocator_cpp11(const aligned_allocator_cpp11< U > &other)
void * aligned_calloc(size_t bytes, size_t alignment)
Identical to aligned_malloc, but it zeroes the reserved memory block.
pointer allocate(size_type num, const void *=nullptr)
aligned_allocator_cpp11(const aligned_allocator_cpp11 &other)
size_t size(const MATRIXLIKE &m, const int dim)
~aligned_allocator_cpp11()=default
void deallocate(pointer p, size_type)
Page generated by Doxygen 1.8.17 for MRPT 2.0.4 at Sat Jun 27 14:00:59 UTC 2020 | |