dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
Dune::Fem::StandardArrayAllocator< T > Class Template Reference

oriented to the STL Allocator funtionality More...

#include <dune/fem/storage/dynamicarray.hh>

Inheritance diagram for Dune::Fem::StandardArrayAllocator< T >:
Inheritance graph

Public Types

typedef BaseType::pointer pointer
 
typedef BaseType::size_type size_type
 

Public Member Functions

pointer allocate (size_type n)
 
void deallocate (pointer p, size_type n)
 
pointer reallocate (pointer oldMem, size_type oldSize, size_type n)
 

Public Attributes

elements
 STL member.
 

Detailed Description

template<typename T>
class Dune::Fem::StandardArrayAllocator< T >

oriented to the STL Allocator funtionality

Member Typedef Documentation

◆ pointer

template<typename T >
typedef BaseType::pointer Dune::Fem::StandardArrayAllocator< T >::pointer

◆ size_type

template<typename T >
typedef BaseType::size_type Dune::Fem::StandardArrayAllocator< T >::size_type

Member Function Documentation

◆ allocate()

template<typename T >
pointer Dune::Fem::StandardArrayAllocator< T >::allocate ( size_type  n)
inline

◆ deallocate()

template<typename T >
void Dune::Fem::StandardArrayAllocator< T >::deallocate ( pointer  p,
size_type  n 
)
inline

◆ reallocate()

template<typename T >
pointer Dune::Fem::StandardArrayAllocator< T >::reallocate ( pointer  oldMem,
size_type  oldSize,
size_type  n 
)
inline

Member Data Documentation

◆ elements

T std::allocator< T >::elements
inherited

STL member.


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