DUNE-FEM (unstable)

Dune::Fem::PODArrayAllocator< T > Class Template Reference

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

Public Member Functions

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

elements
 STL member.
 

Detailed Description

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

allocator for simple structures like int, double and float using the C malloc, free and realloc


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.111.3 (Jul 27, 22:29, 2024)