Public Member Functions | |
| shared_ptr () | |
| ~shared_ptr () | |
| shared_ptr (const shared_ptr< T > &o) | |
| shared_ptr (T *p) | |
| shared_ptr (const weak_ptr< T > &w) | |
| shared_ptr< T > & | operator= (const shared_ptr< T > &o) |
| T * | get () |
| T * | operator-> () |
| T & | operator * () |
| const T * | get () const |
| const T * | operator-> () const |
| const T & | operator * () const |
| bool | operator== (const shared_ptr< T > &o) const |
| bool | operator!= (const shared_ptr< T > &o) const |
| bool | operator< (const shared_ptr< T > &o) const |
| unsigned | refcount () const |
Private Member Functions | |
| void | decref () |
| void | incref () |
Static Private Member Functions | |
| static unsigned * | nil () |
Private Attributes | |
| T * | ptr |
| unsigned * | count |
Friends | |
| class | weak_ptr< T > |
Definition at line 25 of file shared_ptr.h.
1.4.7