v8
8.6.395 (node 15.0.1)
V8 is Google's open source JavaScript engine
|
#include <garbage-collected.h>
Public Types | |
using | IsGarbageCollectedTypeMarker = void |
Protected Member Functions | |
GarbageCollected ()=default | |
Protected Member Functions inherited from GarbageCollectedBase | |
GarbageCollectedBase ()=default | |
Additional Inherited Members | |
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 |
Base class for managed objects. Only descendent types of GarbageCollected can be constructed using MakeGarbageCollected. Must be inherited from as left-most base class.
Types inheriting from GarbageCollected must provide a method of signature void Trace(cppgc::Visitor*) const
that dispatchs all managed pointers to the visitor and delegates to garbage-collected base classes. The method must be virtual if the type is not directly a child of GarbageCollected and marked as final.
Definition at line 77 of file garbage-collected.h.
using IsGarbageCollectedTypeMarker = void |
Definition at line 79 of file garbage-collected.h.
|
protecteddefault |