A functor that may be used for memory management of modules allocated on the heap usage: e.g. std::shared_ptr<IGrid> grid( opals::IGrid::New(), opals::ModuleDeleter() );. More...
#include "ModuleDeleter.hpp"
Public Member Functions | |
void | operator() (opals::IModuleBase *ptr) const |
A functor that may be used for memory management of modules allocated on the heap usage: e.g. std::shared_ptr<IGrid> grid( opals::IGrid::New(), opals::ModuleDeleter() );.