![]() |
Public API Reference |
![]() |
Helper class to delete
a pointer when exiting a scope.
More...
#include <csutil/scopeddelete.h>
Public Member Functions | |
ScopedDelete (T *ptr) | |
Construct from given pointer. |
Helper class to delete
a pointer when exiting a scope.
T is the type pointed to.
Definition at line 37 of file scopeddelete.h.
CS::Utility::ScopedDelete< T >::ScopedDelete | ( | T * | ptr | ) | [inline] |
Construct from given pointer.
Definition at line 41 of file scopeddelete.h.