cartobase  4.5.0
carto::RefData< T > Class Template Reference

#include <cartobase/smart/rcptr.h>

Inheritance diagram for carto::RefData< T >:

Public Member Functions

int count () const
 

Friends

template<class R >
class const_ref
 
template<class R >
class ref
 
class DefaultRefConstruction
 
class RCObject
 
class rc_ptr_trick
 

Detailed Description

template<class T>
class carto::RefData< T >

The following class has been build because of a problem in gcc 2.95.2 (I don't know if it is a bug) which forbid to access the private members of a const_ref<R> from a member of const_ref<T>. It is not possible to use a template friend declaration in this case because it leads to an internal compiler error.

Definition at line 189 of file rcptr.h.

Member Function Documentation

template<class T>
int carto::RefData< T >::count ( ) const
inline

Definition at line 202 of file rcptr.h.

Friends And Related Function Documentation

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

Definition at line 191 of file rcptr.h.

template<class T>
friend class DefaultRefConstruction
friend

Definition at line 193 of file rcptr.h.

template<class T>
friend class rc_ptr_trick
friend

Definition at line 195 of file rcptr.h.

template<class T>
friend class RCObject
friend

Definition at line 194 of file rcptr.h.

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

Definition at line 192 of file rcptr.h.


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