cartobase  4.5.0
weakptr.h File Reference
#include <cartobase/config/cartobase_config.h>
#include <cartobase/smart/rcptr.h>
#include <memory>
Include dependency graph for weakptr.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  carto::weak_ptr< T >
 Observer pointer, observing a shfj::WeakObject. More...
 
class  carto::weak_shared_ptr< T >
 weak_shared_ptr: increments a reference count, is told and becomes null whenever the shared object is deleted externally. More...
 
class  carto::shared_ptr< T >
 A multi-purpose general smart pointer, which can act as either a rc_ptr, a weak_ptr or a weak_shared_ptr. More...
 
class  carto::weak_ptr< T >
 Observer pointer, observing a shfj::WeakObject. More...
 

Namespaces

 carto
 

Functions

template<typename T , typename U >
weak_ptr< U > carto::weak_cast (const weak_ptr< T > &)