#include <countedptr.hpp>
Public Member Functions | |
| AdaptT (const T &t) | |
| construct by wrapping the given object | |
| T & | operator= (const T &t) |
| assignment operator | |
| operator T & () | |
| type-cast operator (used when AdaptT is used instead of T) | |
| operator const T & () const | |
| const type-cast operator (used when AdaptT is used instead of const T) | |
Data Fields | |
| T | m_t |
For example CCountedPtr has overloaded operator & which prevents using CCountedPtr in stl collections (i.e. std::list<CCountedPtr<MyType> >)
Definition at line 103 of file countedptr.hpp.
1.5.6