#include <cont_ptr_utils.h>
Public Member Functions | |
template<typename _Pointer> | |
void | operator() (_Pointer __ptr) const |
A typical usage might be like:
list<Object*> l; ... for_each(l.begin(), l.end(), delete_object());
void delete_object::operator() | ( | _Pointer | __ptr | ) | const [inline] |