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

#include <base.h>

Inheritance diagram for usecountbase:
insp::uncopiable Module

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: