dune-common  2.3.1
Protected Member Functions | Protected Attributes | Friends | List of all members
Dune::SharedCount Class Reference

The object we reference. More...

#include <dune/common/shared_ptr.hh>

Protected Member Functions

 SharedCount ()
 Constructor from existing Pointer. More...
 
 SharedCount (const SharedCount &rep)
 Copy constructor with type conversion. More...
 
virtual ~SharedCount ()
 Destructor, deletes element_type* rep_. More...
 

Protected Attributes

int count_
 The number of references. More...
 

Friends

template<class T1 >
class shared_ptr
 

Detailed Description

The object we reference.

Constructor & Destructor Documentation

Dune::SharedCount::SharedCount ( )
inlineprotected

Constructor from existing Pointer.

Dune::SharedCount::SharedCount ( const SharedCount rep)
inlineprotected

Copy constructor with type conversion.

virtual Dune::SharedCount::~SharedCount ( )
inlineprotectedvirtual

Destructor, deletes element_type* rep_.

Friends And Related Function Documentation

template<class T1 >
friend class shared_ptr
friend

Member Data Documentation

int Dune::SharedCount::count_
protected

The number of references.

Referenced by Dune::shared_ptr< T >::assign(), and Dune::shared_ptr< T >::shared_ptr().


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