v8
8.4.371 (node 14.15.5)
V8 is Google's open source JavaScript engine
|
#include <garbage-collected.h>
Public Types | |
using | IsGarbageCollectedMixinTypeMarker = void |
Public Member Functions | |
virtual TraceDescriptor | GetTraceDescriptor () const |
virtual void | Trace (cppgc::Visitor *) const |
Public Member Functions inherited from GarbageCollectedBase | |
void * | operator new (size_t)=delete |
void * | operator new[] (size_t)=delete |
void | operator delete (void *) |
void | operator delete[] (void *)=delete |
Static Public Attributes | |
static constexpr void * | kNotFullyConstructedObject = nullptr |
Additional Inherited Members | |
Protected Member Functions inherited from GarbageCollectedBase | |
GarbageCollectedBase ()=default | |
Base class for managed mixin objects. Such objects cannot be constructed directly but must be mixed into the inheritance hierarchy of a GarbageCollected object.
Types inheriting from GarbageCollectedMixin must override a virtual method of signature void Trace(cppgc::Visitor*) const
that dispatchs all managed pointers to the visitor and delegates to base classes.
Definition at line 104 of file garbage-collected.h.
using IsGarbageCollectedMixinTypeMarker = void |
Definition at line 106 of file garbage-collected.h.
|
inlinevirtual |
Definition at line 114 of file garbage-collected.h.
References GarbageCollectedMixin::kNotFullyConstructedObject.
|
inlinevirtual |
This Trace method must be overriden by objects inheriting from GarbageCollectedMixin.
Definition at line 122 of file garbage-collected.h.
|
staticconstexpr |
Definition at line 109 of file garbage-collected.h.
Referenced by GarbageCollectedMixin::GetTraceDescriptor().