cartobase 6.0.6
carto::RefConstruction< T > Class Template Reference

#include <cartobase/smart/rcptr.h>

Inheritance diagram for carto::RefConstruction< T >:
Collaboration diagram for carto::RefConstruction< T >:

Friends

template<class R>
class ref
 
template<class R>
class const_ref
 

Detailed Description

template<class T>
class carto::RefConstruction< T >

The following class is used to get the appropriate const_ref<T> constructor and destructor at compile time. A call to RefConstruction<T>::construct() (resp. RefConstruction<T>::destroy()) calls RCObject::construct<T>() (resp. RCObject::destroy<T>()) if T inherits from RCObject, in other cases, it calls DefaultRefConstruction::construct<T>() (resp. DefaultRefConstruction::destroy<T>()).

Definition at line 177 of file rcptr.h.

Friends And Related Symbol Documentation

◆ const_ref

template<class T>
template<class R>
friend class const_ref
friend

Definition at line 180 of file rcptr.h.

References const_ref.

Referenced by const_ref.

◆ ref

template<class T>
template<class R>
friend class ref
friend

Definition at line 179 of file rcptr.h.

References ref.

Referenced by ref.


The documentation for this class was generated from the following file: