Loading...
Searching...
No Matches
Static Public Member Functions | List of all members
cppgc::MakeGarbageCollectedTrait< T > Class Template Reference

#include <allocation.h>

Inheritance diagram for cppgc::MakeGarbageCollectedTrait< T >:
[legend]
Collaboration diagram for cppgc::MakeGarbageCollectedTrait< T >:
[legend]

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 cppgc::MakeGarbageCollectedTraitBase< T >
static void * Allocate (AllocationHandle &handle, 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

Member Function Documentation

◆ Call() [1/2]

template<typename T >
template<typename... Args>
static T * cppgc::MakeGarbageCollectedTrait< T >::Call ( AllocationHandle &  handle,
AdditionalBytes  additional_bytes,
Args &&...  args 
)
inlinestatic
Here is the call graph for this function:

◆ Call() [2/2]

template<typename T >
template<typename... Args>
static T * cppgc::MakeGarbageCollectedTrait< T >::Call ( AllocationHandle &  handle,
Args &&...  args 
)
inlinestatic
Here is the call graph for this function:
Here is the caller graph for this function:

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