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

Deletes all objects pointed to in a std::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 std::tuple of pointers.

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

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