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 nullptr
Definition at line 122 of file scoped_resource.hpp.
|
inline |
Definition at line 124 of file scoped_resource.hpp.