Givaro
Public Member Functions
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]

RefCountPtr ( T *  data)
inlineexplicit

◆ RefCountPtr() [2/2]

RefCountPtr ( const RefCountPtr< T > &  ptr)
inline

◆ ~RefCountPtr()

~RefCountPtr ( )
inline

Member Function Documentation

◆ operator=()

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

◆ operator*()

T& operator* ( ) const
inline

◆ operator->()

T* operator-> ( ) const
inline

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