|
Crypto++
8.9
Free C++ class library of cryptographic schemes
|
Reference counted pointer. More...
Public Member Functions | |
| counted_ptr (T *p=NULL) | |
| counted_ptr (const T &r) | |
| counted_ptr (const counted_ptr< T > &rhs) | |
| const T & | operator* () const |
| T & | operator* () |
| const T * | operator-> () const |
| T * | operator-> () |
| const T * | get () const |
| T * | get () |
| void | attach (const T &p) |
| counted_ptr< T > & | operator= (const counted_ptr< T > &rhs) |
Reference counted pointer.
| T | class or type |
users should declare m_referenceCount as std::atomic<unsigned> (or similar) under C++ 11
Definition at line 129 of file smartptr.h.