LLVM API Documentation
#include <IntrusiveRefCntPtr.h>
Protected Member Functions | |
RefCountedBaseVPTR () | |
RefCountedBaseVPTR (const RefCountedBaseVPTR &) | |
virtual | ~RefCountedBaseVPTR () |
void | Retain () const |
void | Release () const |
Friends | |
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 67 of file IntrusiveRefCntPtr.h.
llvm::RefCountedBaseVPTR::RefCountedBaseVPTR | ( | ) | [inline, protected] |
Definition at line 72 of file IntrusiveRefCntPtr.h.
llvm::RefCountedBaseVPTR::RefCountedBaseVPTR | ( | const RefCountedBaseVPTR & | ) | [inline, protected] |
Definition at line 73 of file IntrusiveRefCntPtr.h.
virtual llvm::RefCountedBaseVPTR::~RefCountedBaseVPTR | ( | ) | [inline, protected, virtual] |
Definition at line 75 of file IntrusiveRefCntPtr.h.
void llvm::RefCountedBaseVPTR::Release | ( | ) | const [inline, protected] |
Definition at line 78 of file IntrusiveRefCntPtr.h.
void llvm::RefCountedBaseVPTR::Retain | ( | ) | const [inline, protected] |
Definition at line 77 of file IntrusiveRefCntPtr.h.
friend struct IntrusiveRefCntPtrInfo [friend] |
Definition at line 84 of file IntrusiveRefCntPtr.h.