dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | List of all members
Dune::Fem::StackAllocator< T, S > Struct Template Reference

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/common/stackallocator.hh>

Inheritance diagram for Dune::Fem::StackAllocator< T, S >:
Inheritance graph

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
 
typedef UninitializedObjectStack Stack
 
typedef S StackPtr
 

Public Member Functions

 StackAllocator (StackPtr stack)
 
template<class U >
 StackAllocator (const StackAllocator< U, S > &other)
 
template<class U >
 StackAllocator (StackAllocator< U, S > &&other)
 
 StackAllocator (const StackAllocator &other)
 
 StackAllocator (StackAllocator &&other)
 
pointer address (reference x) const
 
const_pointer address (const_reference x) const
 
pointer allocate (size_type n, typename rebind< void >::other::const_pointer hint=nullptr)
 
void deallocate (pointer p, size_type n)
 
size_type max_size () const
 
template<class... Args>
void construct (pointer p, Args &&...args)
 
void destroy (pointer p)
 

Member Typedef Documentation

template<class T, class S = UninitializedObjectStack *>
typedef const T* Dune::Fem::StackAllocator< T, S >::const_pointer
template<class T, class S = UninitializedObjectStack *>
typedef const T& Dune::Fem::StackAllocator< T, S >::const_reference
template<class T, class S = UninitializedObjectStack *>
typedef std::ptrdiff_t Dune::Fem::StackAllocator< T, S >::difference_type
template<class T, class S = UninitializedObjectStack *>
typedef T* Dune::Fem::StackAllocator< T, S >::pointer
template<class T, class S = UninitializedObjectStack *>
typedef T& Dune::Fem::StackAllocator< T, S >::reference
template<class T, class S = UninitializedObjectStack *>
typedef std::size_t Dune::Fem::StackAllocator< T, S >::size_type
template<class T, class S = UninitializedObjectStack *>
typedef UninitializedObjectStack Dune::Fem::StackAllocator< T, S >::Stack
template<class T, class S = UninitializedObjectStack *>
typedef S Dune::Fem::StackAllocator< T, S >::StackPtr
template<class T, class S = UninitializedObjectStack *>
typedef T Dune::Fem::StackAllocator< T, S >::value_type

Constructor & Destructor Documentation

template<class T, class S = UninitializedObjectStack *>
Dune::Fem::StackAllocator< T, S >::StackAllocator ( StackPtr  stack)
inlineexplicit
template<class T, class S = UninitializedObjectStack *>
template<class U >
Dune::Fem::StackAllocator< T, S >::StackAllocator ( const StackAllocator< U, S > &  other)
inline
template<class T, class S = UninitializedObjectStack *>
template<class U >
Dune::Fem::StackAllocator< T, S >::StackAllocator ( StackAllocator< U, S > &&  other)
inline
template<class T, class S = UninitializedObjectStack *>
Dune::Fem::StackAllocator< T, S >::StackAllocator ( const StackAllocator< T, S > &  other)
inline
template<class T, class S = UninitializedObjectStack *>
Dune::Fem::StackAllocator< T, S >::StackAllocator ( StackAllocator< T, S > &&  other)
inline

Member Function Documentation

template<class T, class S = UninitializedObjectStack *>
pointer Dune::Fem::StackAllocator< T, S >::address ( reference  x) const
inline
template<class T, class S = UninitializedObjectStack *>
const_pointer Dune::Fem::StackAllocator< T, S >::address ( const_reference  x) const
inline
template<class T, class S = UninitializedObjectStack *>
pointer Dune::Fem::StackAllocator< T, S >::allocate ( size_type  n,
typename rebind< void >::other::const_pointer  hint = nullptr 
)
inline
template<class T, class S = UninitializedObjectStack *>
template<class... Args>
void Dune::Fem::StackAllocator< T, S >::construct ( pointer  p,
Args &&...  args 
)
inline
template<class T, class S = UninitializedObjectStack *>
void Dune::Fem::StackAllocator< T, S >::deallocate ( pointer  p,
size_type  n 
)
inline
template<class T, class S = UninitializedObjectStack *>
void Dune::Fem::StackAllocator< T, S >::destroy ( pointer  p)
inline
template<class T, class S = UninitializedObjectStack *>
size_type Dune::Fem::StackAllocator< T, S >::max_size ( ) const
inline

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