Reference documentation for deal.II version 9.5.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
Public Member Functions | List of all members
AlignedVector< T >::Deleter::DeleterActionBase Class Referenceabstract
Inheritance diagram for AlignedVector< T >::Deleter::DeleterActionBase:
[legend]

Public Member Functions

virtual ~DeleterActionBase ()=default
 
virtual void delete_array (const AlignedVector< T > *owning_aligned_vector, T *ptr)=0
 

Detailed Description

template<class T>
class AlignedVector< T >::Deleter::DeleterActionBase

Base class for the action necessary to de-allocate memory.

Definition at line 605 of file aligned_vector.h.

Constructor & Destructor Documentation

◆ ~DeleterActionBase()

template<class T >
virtual AlignedVector< T >::Deleter::DeleterActionBase::~DeleterActionBase ( )
virtualdefault

Destructor, made virtual to allow for derived classes.

Member Function Documentation

◆ delete_array()

template<class T >
virtual void AlignedVector< T >::Deleter::DeleterActionBase::delete_array ( const AlignedVector< T > *  owning_aligned_vector,
T *  ptr 
)
pure virtual

The function that implements the action of de-allocating memory. It receives as arguments a pointer to the owning AlignedVector object as well as a pointer to the memory being de-allocated.

Implemented in AlignedVector< T >::Deleter::MPISharedMemDeleterAction.


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