dune-common  2.4.1
Classes | Static Public Member Functions | List of all members
Dune::PointerPairDeletor< Tuple > Class Template Reference

Deletes all objects pointed to in a tuple of pointers. More...

#include <dune/common/tupleutility.hh>

Static Public Member Functions

static void apply (Tuple &t)
 

Detailed Description

template<class Tuple>
class Dune::PointerPairDeletor< Tuple >

Deletes all objects pointed to in a tuple of pointers.

Warning
Pointers cannot be set to NULL, so calling the Deletor twice or accessing elements of a deleted tuple leads to unforeseeable results!

Member Function Documentation

template<class Tuple >
static void Dune::PointerPairDeletor< Tuple >::apply ( Tuple &  t)
inlinestatic

References t.


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