SOFUS ..
Public Types | Public Member Functions | List of all members
unique_aligned_array< T > Class Template Reference

Public Types

typedef T * pointer
 

Public Member Functions

 unique_aligned_array ()
 
 unique_aligned_array (size_t n)
 
 unique_aligned_array (unique_aligned_array &&other)
 
unique_aligned_arrayoperator= (unique_aligned_array &&other)
 
T & operator[] (const size_t i)
 
const T & operator[] (const size_t i) const
 
T * get () noexcept
 
const T * get () const noexcept
 
void reset (pointer p=pointer()) noexcept
 
std::unique_ptr< T, std::function< void(T *)> >::deleter_type & get_deleter () noexcept
 
const std::unique_ptr< T, std::function< void(T *)> >::deleter_type & get_deleter () const noexcept
 

Member Typedef Documentation

◆ pointer

typedef T* pointer

Constructor & Destructor Documentation

◆ unique_aligned_array() [1/3]

◆ unique_aligned_array() [2/3]

unique_aligned_array ( size_t  n)
inline

◆ unique_aligned_array() [3/3]

unique_aligned_array ( unique_aligned_array< T > &&  other)
inline

Member Function Documentation

◆ get() [1/2]

const T * get ( ) const
inlinenoexcept

◆ get() [2/2]

T * get ( )
inlinenoexcept

◆ get_deleter() [1/2]

const std::unique_ptr< T, std::function< void(T *)> >::deleter_type & get_deleter ( ) const
inlinenoexcept

◆ get_deleter() [2/2]

std::unique_ptr< T, std::function< void(T *)> >::deleter_type & get_deleter ( )
inlinenoexcept

◆ operator=()

unique_aligned_array & operator= ( unique_aligned_array< T > &&  other)
inline

◆ operator[]() [1/2]

T & operator[] ( const size_t  i)
inline

◆ operator[]() [2/2]

const T & operator[] ( const size_t  i) const
inline

◆ reset()

void reset ( pointer  p = pointer())
inlinenoexcept

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