A helper policy for scoped_array. More...
#include <scoped_resource.hpp>
Public Member Functions | |
| template<typename T > | |
| void | operator() (T *&p) const |
A helper policy for scoped_array.
It will call the delete[] operator on a pointer, and assign the pointer to NULL
Definition at line 131 of file scoped_resource.hpp.
| void util::delete_array::operator() | ( | T *& | p | ) | const [inline] |
Definition at line 133 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 |