DDC 0.0.0

a discrete domain computation library

AlignedAllocator< T, N > Class Template Reference

Classes

struct  rebind
 

Public Types

using value_type = T
 

Public Member Functions

constexpr AlignedAllocator ()=default
 
constexpr AlignedAllocator (AlignedAllocator const &x)=default
 
constexpr AlignedAllocator (AlignedAllocator &&x) noexcept=default
 
template<class U >
constexpr AlignedAllocator (AlignedAllocator< U, N > const &b) noexcept
 
 ~AlignedAllocator ()=default
 
constexpr AlignedAllocatoroperator= (AlignedAllocator const &x)=default
 
constexpr AlignedAllocatoroperator= (AlignedAllocator &&x) noexcept=default
 
template<class U >
constexpr AlignedAllocatoroperator= (AlignedAllocator< U, N > const &b) noexcept
 
T * allocate (std::size_t n) const
 
void deallocate (T *p, std::size_t) const
 

Class Documentation

◆ AlignedAllocator::rebind

struct AlignedAllocator::rebind

template<class T, std::size_t N>
template<class U>
struct AlignedAllocator< T, N >::rebind< U >

Class Members
typedef AlignedAllocator< U, N > other

Member Typedef Documentation

◆ value_type

template<class T , std::size_t N>
using AlignedAllocator< T, N >::value_type = T

Constructor & Destructor Documentation

◆ AlignedAllocator() [1/4]

template<class T , std::size_t N>
constexpr AlignedAllocator< T, N >::AlignedAllocator ( )
constexprdefault

◆ AlignedAllocator() [2/4]

template<class T , std::size_t N>
constexpr AlignedAllocator< T, N >::AlignedAllocator ( AlignedAllocator< T, N > const &  x)
constexprdefault

◆ AlignedAllocator() [3/4]

template<class T , std::size_t N>
constexpr AlignedAllocator< T, N >::AlignedAllocator ( AlignedAllocator< T, N > &&  x)
constexprdefaultnoexcept

◆ AlignedAllocator() [4/4]

template<class T , std::size_t N>
template<class U >
constexpr AlignedAllocator< T, N >::AlignedAllocator ( AlignedAllocator< U, N > const &  b)
inlineexplicitconstexprnoexcept

◆ ~AlignedAllocator()

template<class T , std::size_t N>
AlignedAllocator< T, N >::~AlignedAllocator ( )
default

Member Function Documentation

◆ operator=() [1/3]

template<class T , std::size_t N>
constexpr AlignedAllocator& AlignedAllocator< T, N >::operator= ( AlignedAllocator< T, N > const &  x)
constexprdefault

◆ operator=() [2/3]

template<class T , std::size_t N>
constexpr AlignedAllocator& AlignedAllocator< T, N >::operator= ( AlignedAllocator< T, N > &&  x)
constexprdefaultnoexcept

◆ operator=() [3/3]

template<class T , std::size_t N>
template<class U >
constexpr AlignedAllocator& AlignedAllocator< T, N >::operator= ( AlignedAllocator< U, N > const &  b)
inlineconstexprnoexcept

◆ allocate()

template<class T , std::size_t N>
T* AlignedAllocator< T, N >::allocate ( std::size_t  n) const
inline

◆ deallocate()

template<class T , std::size_t N>
void AlignedAllocator< T, N >::deallocate ( T *  p,
std::size_t   
) const
inline

The documentation for this class was generated from the following file: