Nugget
|
#include <safe_ptr.h>
Public Member Functions | |
bool | unique () const |
bool | empty () const |
Returns true if there are no other smart pointers pointing to our object except us. True if mpObject is NUll. | |
void | reset (const safe_object *pObject) |
Returns true if mpObject is NULL. | |
void | reset () |
Make this point to pObject and enlist. | |
Protected Member Functions | |
safe_ptr_base () | |
Make this point to NULL and delist. | |
safe_ptr_base (const safe_object *pObject) | |
safe_ptr_base (const safe_ptr_base &safePtrBase) | |
Protected Attributes | |
const safe_object * | mpObject |
Friends | |
class | safe_object |
This is a non-templated base class for safe_ptr<T>, not for direct use by the user.