v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
cppgc::PostConstructionCallbackTrait< T, typename > Struct Template Reference

#include <allocation.h>

Collaboration diagram for cppgc::PostConstructionCallbackTrait< T, typename >:

Static Public Member Functions

static void Call (T *)
 

Detailed Description

template<typename T, typename = void>
struct cppgc::PostConstructionCallbackTrait< T, typename >

Allows users to specify a post-construction callback for specific types. The callback is invoked on the instance of type T right after it has been constructed. This can be useful when the callback requires a fully-constructed object to be able to dispatch to virtual methods.

Definition at line 263 of file allocation.h.

Member Function Documentation

◆ Call()

template<typename T , typename = void>
static void cppgc::PostConstructionCallbackTrait< T, typename >::Call ( T * )
inlinestatic

Definition at line 264 of file allocation.h.

Here is the caller graph for this function:

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