v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
|
#include <allocation.h>
Static Public Member Functions | |
template<typename... Args> | |
static T * | Call (AllocationHandle &handle, Args &&... args) |
template<typename... Args> | |
static T * | Call (AllocationHandle &handle, AdditionalBytes additional_bytes, Args &&... args) |
Additional Inherited Members | |
Static Protected Member Functions inherited from MakeGarbageCollectedTraitBase< T > | |
static V8_INLINE void * | Allocate (AllocationHandle &handle, size_t size) |
static V8_INLINE void | MarkObjectAsFullyConstructed (const void *payload) |
Default trait class that specifies how to construct an object of type T. Advanced users may override how an object is constructed using the utilities that are provided through MakeGarbageCollectedTraitBase.
Any trait overriding construction must
MakeGarbageCollectedTraitBase<T>::Allocate
;MakeGarbageCollectedTraitBase<T>::MarkObjectAsFullyConstructed
; Definition at line 236 of file allocation.h.
|
inlinestatic |
Definition at line 248 of file allocation.h.
References MakeGarbageCollectedTraitBase< T >::Allocate(), MakeGarbageCollectedTraitBase< T >::MarkObjectAsFullyConstructed(), and AdditionalBytes::value.
|
inlinestatic |
Definition at line 239 of file allocation.h.
References MakeGarbageCollectedTraitBase< T >::Allocate(), and MakeGarbageCollectedTraitBase< T >::MarkObjectAsFullyConstructed().
Referenced by cppgc::MakeGarbageCollected(), and cppgc::MakeGarbageCollected().