LLVM API Documentation
#include <IntrusiveRefCntPtr.h>
Protected Member Functions | |
RefCountedBaseVPTR () | |
RefCountedBaseVPTR (const RefCountedBaseVPTR &) | |
virtual | ~RefCountedBaseVPTR () |
void | Retain () const |
void | Release () const |
Friends | |
template<typename T > | |
struct | IntrusiveRefCntPtrInfo |
RefCountedBaseVPTR - A class that has the same function as RefCountedBase, but with a virtual destructor. Should be used instead of RefCountedBase for classes that already have virtual methods to enforce dynamic allocation via 'new'. Classes that inherit from RefCountedBaseVPTR can't be allocated on stack - attempting to do this will produce a compile error.
Definition at line 66 of file IntrusiveRefCntPtr.h.
|
inlineprotected |
Definition at line 71 of file IntrusiveRefCntPtr.h.
|
inlineprotected |
Definition at line 72 of file IntrusiveRefCntPtr.h.
|
inlineprotectedvirtual |
Definition at line 74 of file IntrusiveRefCntPtr.h.
|
inlineprotected |
Definition at line 77 of file IntrusiveRefCntPtr.h.
|
inlineprotected |
Definition at line 76 of file IntrusiveRefCntPtr.h.
|
friend |
Definition at line 83 of file IntrusiveRefCntPtr.h.