GLI  0.5.1
Public Member Functions | List of all members
cow_ptr< T > Class Template Reference

Public Member Functions

 cow_ptr (T *Pointer)
 
 cow_ptr (shared_ptr< T > const &SharedPtr)
 
 cow_ptr (cow_ptr< T > const &CowPtr)
 
T const & operator* () const
 
T & operator* ()
 
T const * operator-> () const
 
T * operator-> ()
 
cow_ptroperator= (cow_ptr< T > const &CowPtr)
 

Detailed Description

template<typename T>
class gli::cow_ptr< T >

Definition at line 37 of file cow_ptr.hpp.

Constructor & Destructor Documentation

cow_ptr ( T *  Pointer)

Definition at line 40 of file cow_ptr.hpp.

cow_ptr ( shared_ptr< T > const &  SharedPtr)

Definition at line 44 of file cow_ptr.hpp.

cow_ptr ( cow_ptr< T > const &  CowPtr)

Definition at line 48 of file cow_ptr.hpp.

Member Function Documentation

T const& operator* ( ) const

Definition at line 60 of file cow_ptr.hpp.

T& operator* ( )

Definition at line 65 of file cow_ptr.hpp.

T const* operator-> ( ) const

Definition at line 71 of file cow_ptr.hpp.

T* operator-> ( )

Definition at line 76 of file cow_ptr.hpp.

cow_ptr& operator= ( cow_ptr< T > const &  CowPtr)

Definition at line 52 of file cow_ptr.hpp.