A shared pointer class similar to boost::shared_ptr. Reimplemented in order to avoid a Boost-dependency. Will be replaced by std::shared_ptr as soon as C++11 is widely available. More...
#include <shared_ptr.hpp>
| Public Member Functions | |
| shared_ptr () | |
| template<class U , class Deleter > | |
| shared_ptr (U *pu, Deleter d) | |
| template<class U > | |
| shared_ptr (U *pu) | |
| T * | get () const | 
| T * | operator-> () const | 
| T & | operator* () const | 
| shared_ptr (const shared_ptr &s) | |
| template<class U > | |
| shared_ptr (const shared_ptr< U > &s) | |
| ~shared_ptr () | |
| void | reset () | 
| void | reset (T *ptr) | 
| void | swap (shared_ptr< T > &other) | 
| shared_ptr & | operator= (const shared_ptr &s) | 
| void | inc () | 
| void | dec () | 
| Friends | |
| template<class U > | |
| class | shared_ptr | 
A shared pointer class similar to boost::shared_ptr. Reimplemented in order to avoid a Boost-dependency. Will be replaced by std::shared_ptr as soon as C++11 is widely available.
Definition at line 83 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 93 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 96 of file shared_ptr.hpp.
| 
 | inlineexplicit | 
Definition at line 99 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 107 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 113 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 118 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 159 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 101 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 154 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 105 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 103 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 140 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 123 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 128 of file shared_ptr.hpp.
| 
 | inline | 
Definition at line 133 of file shared_ptr.hpp.
Definition at line 86 of file shared_ptr.hpp.