|
Teuchos - Trilinos Tools Package Version of the Day
|
Subclass for wrapped opaque objects with a free function. More...
#include <Teuchos_OpaqueWrapper.hpp>
Subclass for wrapped opaque objects with a free function.
This subclass allows a client to easily wrap any opaque object that needs a function to free it. This function (or function object) must be callable as:
opaqueFree(&opaque);
Again, this is typical for the opaque objects implemented in MPI for instance. For example, in order to delete an MPI_Comm object created by the user (not MPI_COMM_WORLD), you must call the function MPI_Comm_free().
Definition at line 159 of file Teuchos_OpaqueWrapper.hpp.
1.7.4