Logo Search packages:      
Sourcecode: virtualbox-ose version File versions

stdx::auto_ref Class Reference

#include <cpputils.h>

Inheritance diagram for stdx::auto_ref:

settings::Key::Backend

List of all members.


Detailed Description

Base class for objects willing to support smart reference counting using the auto_ref_ptr template.

When a class wants to be used with the auto_ref_ptr template it simply declares the auto_ref class among its public base classes -- there is no need to implement any additional methods.

Definition at line 89 of file cpputils.h.


Protected Member Functions

size_t ref ()
size_t unref ()

Private Attributes

size_t mRefs

Friends

class auto_ref_ptr

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

Generated by  Doxygen 1.6.0   Back to index