v8  9.4.146 (node 16.13.0)
V8 is Google's open source JavaScript engine
GCInfoFolding< T, ParentMostGarbageCollectedType > Struct Template Reference

#include <gc-info.h>

Public Types

using ResultType = std::conditional_t<(kHasVirtualDestructorAtBase||kBothTypesAreTriviallyDestructible||kHasCustomFinalizerDispatchAtBase) &&!kWantsDetailedObjectNames, ParentMostGarbageCollectedType, T >
 

Static Public Attributes

static constexpr bool kHasVirtualDestructorAtBase
 
static constexpr bool kBothTypesAreTriviallyDestructible
 
static constexpr bool kHasCustomFinalizerDispatchAtBase
 
static constexpr bool kWantsDetailedObjectNames = false
 

Detailed Description

template<typename T, typename ParentMostGarbageCollectedType>
struct cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >

Definition at line 32 of file gc-info.h.

Member Typedef Documentation

◆ ResultType

Definition at line 49 of file gc-info.h.

Field Documentation

◆ kBothTypesAreTriviallyDestructible

constexpr bool kBothTypesAreTriviallyDestructible
staticconstexpr
Initial value:
=
std::is_trivially_destructible<ParentMostGarbageCollectedType>::value &&
std::is_trivially_destructible<T>::value

Definition at line 35 of file gc-info.h.

◆ kHasCustomFinalizerDispatchAtBase

constexpr bool kHasCustomFinalizerDispatchAtBase
staticconstexpr
Initial value:
=
internal::HasFinalizeGarbageCollectedObject<
ParentMostGarbageCollectedType>::value

Definition at line 38 of file gc-info.h.

◆ kHasVirtualDestructorAtBase

constexpr bool kHasVirtualDestructorAtBase
staticconstexpr
Initial value:
=
std::has_virtual_destructor<ParentMostGarbageCollectedType>::value

Definition at line 33 of file gc-info.h.

◆ kWantsDetailedObjectNames

constexpr bool kWantsDetailedObjectNames = false
staticconstexpr

Definition at line 44 of file gc-info.h.


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