Dibbler - a portable DHCPv6  1.0.2RC1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
SmartPtr.h File Reference
#include <iostream>
+ Include dependency graph for SmartPtr.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  Ptr
class  SPtr< T >


template<class to , class from >
SPtr< toSPtr_cast (SPtr< from > from_ptr)
 Attempts to dynamic cast to SmartPtr<to>

Function Documentation

template<class to , class from >
SPtr<to> SPtr_cast ( SPtr< from >  from_ptr)

Attempts to dynamic cast to SmartPtr<to>

Template Parameters
toderived class
SmartPtr to the derived class (or NULL if cast failed)