CbmRoot
nsL1::SimdAlloc< T > Class Template Reference

#include <std_alloc.h>

Classes

struct  rebind
 

Public Types

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

Public Member Functions

pointer address (reference value) const
 
const_pointer address (const_reference value) const
 
 SimdAlloc () throw ()
 
 SimdAlloc (const SimdAlloc &) throw ()
 
template<class U >
 SimdAlloc (const SimdAlloc< U > &) throw ()
 
 ~SimdAlloc () throw ()
 
size_type max_size () const throw ()
 
pointer allocate (size_type num, const void *=0)
 
void construct (pointer p, const T &value)
 
void destroy (pointer p)
 
void deallocate (pointer p, size_type num)
 
void * operator new (size_t size, void *ptr)
 
void * operator new[] (size_t size, void *ptr)
 
void * operator new (size_t size)
 
void * operator new[] (size_t size)
 
void operator delete (void *ptr, size_t)
 
void operator delete[] (void *ptr, size_t)
 

Detailed Description

template<class T>
class nsL1::SimdAlloc< T >

Definition at line 15 of file std_alloc.h.

Member Typedef Documentation

◆ const_pointer

template<class T >
typedef const T* nsL1::SimdAlloc< T >::const_pointer

Definition at line 20 of file std_alloc.h.

◆ const_reference

template<class T >
typedef const T& nsL1::SimdAlloc< T >::const_reference

Definition at line 22 of file std_alloc.h.

◆ difference_type

template<class T >
typedef std::ptrdiff_t nsL1::SimdAlloc< T >::difference_type

Definition at line 24 of file std_alloc.h.

◆ pointer

template<class T >
typedef T* nsL1::SimdAlloc< T >::pointer

Definition at line 19 of file std_alloc.h.

◆ reference

template<class T >
typedef T& nsL1::SimdAlloc< T >::reference

Definition at line 21 of file std_alloc.h.

◆ size_type

template<class T >
typedef std::size_t nsL1::SimdAlloc< T >::size_type

Definition at line 23 of file std_alloc.h.

◆ value_type

template<class T >
typedef T nsL1::SimdAlloc< T >::value_type

Definition at line 18 of file std_alloc.h.

Constructor & Destructor Documentation

◆ SimdAlloc() [1/3]

template<class T >
nsL1::SimdAlloc< T >::SimdAlloc ( )
throw (
)
inline

Definition at line 39 of file std_alloc.h.

◆ SimdAlloc() [2/3]

template<class T >
nsL1::SimdAlloc< T >::SimdAlloc ( const SimdAlloc< T > &  )
throw (
)
inline

Definition at line 40 of file std_alloc.h.

◆ SimdAlloc() [3/3]

template<class T >
template<class U >
nsL1::SimdAlloc< T >::SimdAlloc ( const SimdAlloc< U > &  )
throw (
)
inline

Definition at line 42 of file std_alloc.h.

◆ ~SimdAlloc()

template<class T >
nsL1::SimdAlloc< T >::~SimdAlloc ( )
throw (
)
inline

Definition at line 43 of file std_alloc.h.

Member Function Documentation

◆ address() [1/2]

template<class T >
const_pointer nsL1::SimdAlloc< T >::address ( const_reference  value) const
inline

Definition at line 34 of file std_alloc.h.

◆ address() [2/2]

template<class T >
pointer nsL1::SimdAlloc< T >::address ( reference  value) const
inline

Definition at line 33 of file std_alloc.h.

◆ allocate()

template<class T >
pointer nsL1::SimdAlloc< T >::allocate ( size_type  num,
const void *  = 0 
)
inline

Definition at line 51 of file std_alloc.h.

◆ construct()

template<class T >
void nsL1::SimdAlloc< T >::construct ( pointer  p,
const T &  value 
)
inline

Definition at line 66 of file std_alloc.h.

◆ deallocate()

template<class T >
void nsL1::SimdAlloc< T >::deallocate ( pointer  p,
size_type  num 
)
inline

Definition at line 93 of file std_alloc.h.

◆ destroy()

template<class T >
void nsL1::SimdAlloc< T >::destroy ( pointer  p)
inline

Definition at line 81 of file std_alloc.h.

◆ max_size()

template<class T >
size_type nsL1::SimdAlloc< T >::max_size ( ) const
throw (
)
inline

Definition at line 46 of file std_alloc.h.

References max().

◆ operator delete()

template<class T >
void nsL1::SimdAlloc< T >::operator delete ( void *  ptr,
size_t   
)
inline

Definition at line 115 of file std_alloc.h.

References _mm_free.

◆ operator delete[]()

template<class T >
void nsL1::SimdAlloc< T >::operator delete[] ( void *  ptr,
size_t   
)
inline

Definition at line 116 of file std_alloc.h.

References _mm_free.

◆ operator new() [1/2]

template<class T >
void* nsL1::SimdAlloc< T >::operator new ( size_t  size)
inline

Definition at line 113 of file std_alloc.h.

References _mm_malloc.

◆ operator new() [2/2]

template<class T >
void* nsL1::SimdAlloc< T >::operator new ( size_t  size,
void *  ptr 
)
inline

Definition at line 107 of file std_alloc.h.

◆ operator new[]() [1/2]

template<class T >
void* nsL1::SimdAlloc< T >::operator new[] ( size_t  size)
inline

Definition at line 114 of file std_alloc.h.

References _mm_malloc.

◆ operator new[]() [2/2]

template<class T >
void* nsL1::SimdAlloc< T >::operator new[] ( size_t  size,
void *  ptr 
)
inline

Definition at line 110 of file std_alloc.h.


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