![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <WNS/RefCountable.hpp>#include <WNS/TypeInfo.hpp>#include <cassert>#include <cstdlib>#include <functional>#include <iostream>#include <list>

Go to the source code of this file.
Namespaces | |
| namespace | wns |
Classes | |
| class | wns::const_smart_ptr_mem_fun_t< RETURNTYPE, POINTERTYPE > |
| class | wns::smart_ptr_mem_fun_t< RETURNTYPE, POINTERTYPE > |
| class | wns::SmartPtr< T > |
| Intrusive reference counting. More... | |
| class | wns::SmartPtr< T >::YOU__SHOULD__NOT_COMPARE__THIS__WITH__ANYTHING__BUT__NULL |
Functions | |
| template<typename T, typename P> | |
| SmartPtr< T > | wns::dynamicCast (const SmartPtr< P > &p) |
| template<typename T, typename P> | |
| T * | wns::dynamicCast (P *p) |
| template<typename T, typename P> | |
| SmartPtr< T > | wns::staticCast (const SmartPtr< P > &p) |
| template<typename T, typename P> | |
| T * | wns::staticCast (P *p) |
Helper function for member funtion adapters | |
| template<class RETURNTYPE, class POINTERTYPE> | |
| smart_ptr_mem_fun_t < RETURNTYPE, POINTERTYPE > | wns::smart_ptr_mem_fun (RETURNTYPE(POINTERTYPE::*__f)()) |
| This helper function may be used like the mem_fun and mem_fun_ref functions from the STL. | |
1.5.5