Template Class allocator

Nested Relationships

Nested Types

Inheritance Relationships

Base Type

  • public std::allocator< T >

Class Documentation

template<typename T, std::size_t Alignment = 64>
class quickpool::mem::aligned::allocator : public std::allocator<T>

short version of https://www.boost.org/doc/libs/1_65_0/boost/align/aligned_allocator.hpp

Public Functions

inline T *allocate(size_t size, const void* = 0)
inline void deallocate(T *ptr, size_t)
template<typename U, class ...Args>
inline void construct(U *ptr, Args&&... args)
template<typename U>
inline void destroy(U *ptr)
template<typename U>
struct rebind

Public Types

typedef allocator<U, Alignment> other