dune-fem 2.8.0
|
#include <dune/fem/storage/dynamicarray.hh>
Public Types | |
typedef BaseType::pointer | pointer |
typedef BaseType::size_type | size_type |
typedef BaseType::value_type | value_type |
Public Member Functions | |
PODArrayAllocator ()=default | |
pointer | allocate (size_type n) |
allocate array of nmemb objects of type T | |
void | deallocate (pointer p, size_type n) |
release memory previously allocated with malloc member | |
pointer | reallocate (pointer oldMem, size_type oldSize, size_type n) |
allocate array of nmemb objects of type T | |
Public Attributes | |
T | elements |
STL member. | |
allocator for simple structures like int, double and float using the C malloc, free and realloc
typedef BaseType::pointer Dune::Fem::PODArrayAllocator< T >::pointer |
typedef BaseType::size_type Dune::Fem::PODArrayAllocator< T >::size_type |
typedef BaseType::value_type Dune::Fem::PODArrayAllocator< T >::value_type |
|
default |
|
inline |
allocate array of nmemb objects of type T
|
inline |
release memory previously allocated with malloc member
|
inline |
allocate array of nmemb objects of type T
|
inherited |
STL member.