AlignedAllocator< T, Align > Class Template Reference

#include <VisionX/components/pointcloud_processor/EfficientRANSACPrimitiveExtractor/EfficientRANSAC/MiscLib/AlignedAllocator.h>

+ Inheritance diagram for AlignedAllocator< T, Align >:

Classes

struct  rebind
 

Public Types

typedef const T * const_pointer
 
typedef const T & const_reference
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 
typedef size_t size_type
 
typedef T value_type
 

Public Member Functions

const_pointer address (const_reference x) const
 
pointer address (reference x) const
 
 AlignedAllocator () throw ()
 
 AlignedAllocator (const AlignedAllocator< T, Align > &) throw ()
 
template<class U>
 AlignedAllocator (const AlignedAllocator< U, Align > &) throw ()
 
pointer allocate (size_type s, std::allocator_traits< std::allocator< void > >::const_void_pointer hint=0)
 
void construct (pointer p, const T &val)
 
void deallocate (pointer p, size_type)
 
void destroy (pointer p)
 
size_type max_size () const throw ()
 
template<class U>
bool operator!= (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator!= (const U &) const
 
template<class U>
bool operator== (const AlignedAllocator< U, Align > &) const
 
template<class U>
bool operator== (const U &) const
 

Member Typedef Documentation

◆ const_pointer

template<class T, unsigned int Align = DefaultAlignment>
typedef const T* const_pointer

◆ const_reference

template<class T, unsigned int Align = DefaultAlignment>
typedef const T& const_reference

◆ difference_type

template<class T, unsigned int Align = DefaultAlignment>
typedef ptrdiff_t difference_type

◆ pointer

template<class T, unsigned int Align = DefaultAlignment>
typedef T* pointer

◆ reference

template<class T, unsigned int Align = DefaultAlignment>
typedef T& reference

◆ size_type

template<class T, unsigned int Align = DefaultAlignment>
typedef size_t size_type

◆ value_type

template<class T, unsigned int Align = DefaultAlignment>
typedef T value_type

Constructor & Destructor Documentation

◆ AlignedAllocator() [1/3]

template<class T, unsigned int Align = DefaultAlignment>
AlignedAllocator ( )
throw ( )
inline

◆ AlignedAllocator() [2/3]

template<class T, unsigned int Align = DefaultAlignment>
AlignedAllocator ( const AlignedAllocator< T, Align > & )
throw ( )
inline

◆ AlignedAllocator() [3/3]

template<class T, unsigned int Align = DefaultAlignment>
template<class U>
AlignedAllocator ( const AlignedAllocator< U, Align > & )
throw ( )
inline

Member Function Documentation

◆ address() [1/2]

template<class T, unsigned int Align = DefaultAlignment>
const_pointer address ( const_reference x) const
inline

◆ address() [2/2]

template<class T, unsigned int Align = DefaultAlignment>
pointer address ( reference x) const
inline

◆ allocate()

template<class T, unsigned int Align = DefaultAlignment>
pointer allocate ( size_type s,
std::allocator_traits< std::allocator< void > >::const_void_pointer hint = 0 )
inline

◆ construct()

template<class T, unsigned int Align = DefaultAlignment>
void construct ( pointer p,
const T & val )
inline

◆ deallocate()

template<class T, unsigned int Align = DefaultAlignment>
void deallocate ( pointer p,
size_type  )
inline

◆ destroy()

template<class T, unsigned int Align = DefaultAlignment>
void destroy ( pointer p)
inline

◆ max_size()

template<class T, unsigned int Align = DefaultAlignment>
size_type max_size ( ) const
throw ( )
inline

◆ operator!=() [1/2]

template<class T, unsigned int Align = DefaultAlignment>
template<class U>
bool operator!= ( const AlignedAllocator< U, Align > & ) const
inline

◆ operator!=() [2/2]

template<class T, unsigned int Align = DefaultAlignment>
template<class U>
bool operator!= ( const U & ) const
inline

◆ operator==() [1/2]

template<class T, unsigned int Align = DefaultAlignment>
template<class U>
bool operator== ( const AlignedAllocator< U, Align > & ) const
inline

◆ operator==() [2/2]

template<class T, unsigned int Align = DefaultAlignment>
template<class U>
bool operator== ( const U & ) const
inline

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