v8 12.4.254 (node 22.4.1)
V8 is Google's open source JavaScript engine
Loading...
Searching...
No Matches
GCInfoFolding< T, ParentMostGarbageCollectedType > Struct Template Referencefinal

#include <gc-info.h>

Public Types

using ResultType = std::conditional_t< kCheckTypeGuardAlwaysTrue &&(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
 
static constexpr bool kCheckTypeGuardAlwaysTrue
 

Detailed Description

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

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

Member Typedef Documentation

◆ ResultType

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

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

Field Documentation

◆ kBothTypesAreTriviallyDestructible

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

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

◆ kCheckTypeGuardAlwaysTrue

template<typename T , typename ParentMostGarbageCollectedType >
constexpr bool kCheckTypeGuardAlwaysTrue
staticconstexpr
Initial value:
=
GCInfoTrait<T>::CheckCallbacksAreDefined() &&
GCInfoTrait<ParentMostGarbageCollectedType>::CheckCallbacksAreDefined()

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

◆ kHasCustomFinalizerDispatchAtBase

template<typename T , typename ParentMostGarbageCollectedType >
constexpr bool kHasCustomFinalizerDispatchAtBase
staticconstexpr
Initial value:
=
internal::HasFinalizeGarbageCollectedObject<
ParentMostGarbageCollectedType>::value

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

◆ kHasVirtualDestructorAtBase

template<typename T , typename ParentMostGarbageCollectedType >
constexpr bool kHasVirtualDestructorAtBase
staticconstexpr
Initial value:
=
std::has_virtual_destructor<ParentMostGarbageCollectedType>::value

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

◆ kWantsDetailedObjectNames

template<typename T , typename ParentMostGarbageCollectedType >
constexpr bool kWantsDetailedObjectNames = false
staticconstexpr

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


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