A helper policy for scoped_ptr. More...
#include <scoped_resource.hpp>
Public Member Functions | |
| template<typename T > | |
| void | operator() (T *&p) const |
A helper policy for scoped_ptr.
It will call the delete operator on a pointer, and assign the pointer to NULL
Definition at line 123 of file scoped_resource.hpp.
| void util::delete_item::operator() | ( | T *& | p | ) | const [inline] |
Definition at line 125 of file scoped_resource.hpp.
| Generated by doxygen 1.7.1 on Fri May 25 2012 01:25:46 for The Battle for Wesnoth | Gna! | Forum | Wiki | CIA | devdocs |