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 ptrdiff_t difference_type
 
typedef Tpointer
 
typedef Treference
 
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
 

Public Attributes

const typedef Tconst_pointer
 
const typedef Tconst_reference
 

Detailed Description

template<class T, unsigned int Align = DefaultAlignment>
class MiscLib::AlignedAllocator< T, Align >

Definition at line 17 of file AlignedAllocator.h.

Member Typedef Documentation

◆ difference_type

typedef ptrdiff_t difference_type

Definition at line 21 of file AlignedAllocator.h.

◆ pointer

typedef T* pointer

Definition at line 22 of file AlignedAllocator.h.

◆ reference

typedef T& reference

Definition at line 24 of file AlignedAllocator.h.

◆ size_type

typedef size_t size_type

Definition at line 20 of file AlignedAllocator.h.

◆ value_type

typedef T value_type

Definition at line 26 of file AlignedAllocator.h.

Constructor & Destructor Documentation

◆ AlignedAllocator() [1/3]

AlignedAllocator ( )
throw (
)
inline

Definition at line 33 of file AlignedAllocator.h.

◆ AlignedAllocator() [2/3]

AlignedAllocator ( const AlignedAllocator< T, Align > &  )
throw (
)
inline

Definition at line 34 of file AlignedAllocator.h.

◆ AlignedAllocator() [3/3]

AlignedAllocator ( const AlignedAllocator< U, Align > &  )
throw (
)
inline

Definition at line 36 of file AlignedAllocator.h.

Member Function Documentation

◆ address() [1/2]

const_pointer address ( const_reference  x) const
inline

Definition at line 41 of file AlignedAllocator.h.

◆ address() [2/2]

pointer address ( reference  x) const
inline

Definition at line 37 of file AlignedAllocator.h.

◆ allocate()

pointer allocate ( size_type  s,
std::allocator_traits< std::allocator< void >>::const_void_pointer  hint = 0 
)
inline

Definition at line 45 of file AlignedAllocator.h.

◆ construct()

void construct ( pointer  p,
const T val 
)
inline

Definition at line 57 of file AlignedAllocator.h.

◆ deallocate()

void deallocate ( pointer  p,
size_type   
)
inline

Definition at line 49 of file AlignedAllocator.h.

◆ destroy()

void destroy ( pointer  p)
inline

Definition at line 61 of file AlignedAllocator.h.

◆ max_size()

size_type max_size ( ) const
throw (
)
inline

Definition at line 53 of file AlignedAllocator.h.

◆ operator!=() [1/2]

bool operator!= ( const AlignedAllocator< U, Align > &  ) const
inline

Definition at line 76 of file AlignedAllocator.h.

◆ operator!=() [2/2]

bool operator!= ( const U &  ) const
inline

Definition at line 81 of file AlignedAllocator.h.

◆ operator==() [1/2]

bool operator== ( const AlignedAllocator< U, Align > &  ) const
inline

Definition at line 66 of file AlignedAllocator.h.

◆ operator==() [2/2]

bool operator== ( const U &  ) const
inline

Definition at line 71 of file AlignedAllocator.h.

Member Data Documentation

◆ const_pointer

const typedef T* const_pointer

Definition at line 23 of file AlignedAllocator.h.

◆ const_reference

const typedef T& const_reference

Definition at line 25 of file AlignedAllocator.h.


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