deal.II version GIT relicensing-1972-g22a7b89abe 2024-10-11 21:20:00+00:00
\(\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:
Inheritance graph
[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 662 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: