ModuleDeleter Struct Reference
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 |
Detailed Description
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() );.
- Date
- 20.12.2011
- Examples:
- demoSegmentation.cpp.
