|
dune-fem 2.12-git
|
Loading...
Searching...
No Matches
Dune::Fem::PODArrayAllocator< T > Class Template Reference
#include <dune/fem/storage/dynamicarray.hh>
Inheritance diagram for Dune::Fem::PODArrayAllocator< T >:

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 | |
| T | address (T... args) |
| T | allocate (T... args) |
| T | construct (T... args) |
| T | deallocate (T... args) |
| T | destroy (T... args) |
| T | max_size (T... args) |
Public Attributes | |
| T | elements |
| STL member. | |
Detailed Description
template<typename T>
class Dune::Fem::PODArrayAllocator< T >
class Dune::Fem::PODArrayAllocator< T >
allocator for simple structures like int, double and float using the C malloc, free and realloc
Member Typedef Documentation
◆ pointer
template<typename T >
| typedef BaseType::pointer Dune::Fem::PODArrayAllocator< T >::pointer |
◆ size_type
template<typename T >
| typedef BaseType::size_type Dune::Fem::PODArrayAllocator< T >::size_type |
◆ value_type
template<typename T >
| typedef BaseType::value_type Dune::Fem::PODArrayAllocator< T >::value_type |
Constructor & Destructor Documentation
◆ PODArrayAllocator()
template<typename T >
|
default |
Member Function Documentation
◆ allocate()
template<typename T >
|
inline |
allocate array of nmemb objects of type T
◆ deallocate()
template<typename T >
|
inline |
release memory previously allocated with malloc member
◆ reallocate()
template<typename T >
|
inline |
allocate array of nmemb objects of type T
Member Data Documentation
◆ elements
|
inherited |
STL member.
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8