V8  latest master commit
V8 is Google's open source JavaScript engine
cppgc::MakeGarbageCollectedTrait< T > Class Template Reference

#include <allocation.h>

Inheritance diagram for cppgc::MakeGarbageCollectedTrait< T >:
cppgc::MakeGarbageCollectedTraitBase< T >

Static Public Member Functions

template<typename... Args>
static T * Call (Heap *heap, Args &&... args)
 

Additional Inherited Members

- Static Protected Member Functions inherited from cppgc::MakeGarbageCollectedTraitBase< T >
static void * Allocate (Heap *heap, size_t size)
 
static void MarkObjectAsFullyConstructed (const void *payload)
 

Detailed Description

template<typename T>
class cppgc::MakeGarbageCollectedTrait< T >

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

Definition at line 115 of file allocation.h.

Member Function Documentation

◆ Call()

template<typename T >
template<typename... Args>
static T* cppgc::MakeGarbageCollectedTrait< T >::Call ( Heap heap,
Args &&...  args 
)
inlinestatic

Definition at line 118 of file allocation.h.


The documentation for this class was generated from the following file: