MeVisLab Toolbox Reference
|
A base-class enabling the use of boost::intrusive_ptr in derived classes. More...
#include <mlIntrusivePtrBase.h>
Protected Member Functions | |
IntrusivePtrBase () | |
Friends | |
void | intrusive_ptr_add_ref (const IntrusivePtrBase< Derived > *ptr) |
Friend functions used by boost::intrusive_ptr. | |
void | intrusive_ptr_release (const IntrusivePtrBase< Derived > *ptr) |
A base-class enabling the use of boost::intrusive_ptr in derived classes.
A minimal base class that provides a reference counter for use with boost::intrusive_ptr.
In order to not require virtual destructors, this class uses CRTP (curiously recurring template pattern) and expects the derived class as template argument to this base class.
Definition at line 48 of file mlIntrusivePtrBase.h.
|
inlineprotected |
Definition at line 50 of file mlIntrusivePtrBase.h.
|
friend |
Friend functions used by boost::intrusive_ptr.
Definition at line 63 of file mlIntrusivePtrBase.h.
|
friend |
Definition at line 65 of file mlIntrusivePtrBase.h.