All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Ewoms::aligned_allocator< T, Alignment > Class Template Reference

Classes

struct  rebind
 

Public Types

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

Public Member Functions

template<class U >
 aligned_allocator (const aligned_allocator< U, Alignment > &) noexcept
 
pointer address (reference value) const noexcept
 
const_pointer address (const_reference value) const noexcept
 
pointer allocate (size_type size, const_void_pointer=0)
 
void deallocate (pointer ptr, size_type)
 
constexpr size_type max_size () const noexcept
 
template<class U , class... Args>
void construct (U *ptr, Args &&...args)
 
template<class U >
void construct (U *ptr)
 
template<class U >
void destroy (U *ptr)
 

Public Attributes

 noexcept = default
 

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