Givaro 4.2.1
RefCountPtr< T > Class Template Reference

Refcount Pointer. More...

#include <givpointer.h>

Public Member Functions

 RefCountPtr (T *data)
 
 RefCountPtr (const RefCountPtr< T > &ptr)
 
 ~RefCountPtr ()
 
RefCountPtr< T > & operator= (const RefCountPtr< T > &ptr)
 
T & operator* () const
 
T * operator-> () const
 

Detailed Description

template<class T>
class Givaro::RefCountPtr< T >

Refcount Pointer.

Constructor & Destructor Documentation

◆ RefCountPtr() [1/2]

template<class T>
RefCountPtr ( T * data)
inlineexplicit

◆ RefCountPtr() [2/2]

template<class T>
RefCountPtr ( const RefCountPtr< T > & ptr)
inline

◆ ~RefCountPtr()

template<class T>
~RefCountPtr ( )
inline

Member Function Documentation

◆ operator=()

template<class T>
RefCountPtr< T > & operator= ( const RefCountPtr< T > & ptr)
inline

◆ operator*()

template<class T>
T & operator* ( ) const
inline

◆ operator->()

template<class T>
T * operator-> ( ) const
inline

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