Security Scol plugin
|
Manages resources for a single object. More...
#include <smartptr.h>
Public Member Functions | |
simple_ptr (T *p=NULLPTR) | |
Public Attributes | |
T * | m_p |
Manages resources for a single object.
T | class or type |
simple_ptr
is used frequently in the library to manage resources and ensure cleanup under the RAII pattern (Resource Acquisition Is Initialization).
Definition at line 18 of file smartptr.h.
|
inline |
Definition at line 21 of file smartptr.h.
|
inline |
Definition at line 22 of file smartptr.h.
T* simple_ptr< T >::m_p |
Definition at line 28 of file smartptr.h.