InspIRCd  3.0
Public Member Functions | List of all members
usecountbase Class Reference

#include <base.h>

Inheritance diagram for usecountbase:
ExtensionItem Module SimpleExtItem< std::string > SimpleExtItem< ChanData > LocalIntExt SimpleExtItem< T, Del > StringExtItem LocalStringExt

Public Member Functions

unsigned int GetUseCount () const
void refcount_inc () const
bool refcount_dec () const

Detailed Description

Base class for use count tracking. Uses reference<>, but does not cause object deletion when the last user is removed.

Safe for use as a second parent class; will not add a second vtable.

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