v8 14.1.146 (node 25.0.0)
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< WantToFold(), ParentMostGarbageCollectedType, T >
 

Static Public Member Functions

static constexpr bool WantToFold ()
 

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 109 of file gc-info.h.

Member Typedef Documentation

◆ ResultType

template<typename T , typename ParentMostGarbageCollectedType >
using ResultType = std::conditional_t<WantToFold(), ParentMostGarbageCollectedType, T>

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

Member Function Documentation

◆ WantToFold()

Field Documentation

◆ kBothTypesAreTriviallyDestructible

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

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

Referenced by GCInfoFolding< T, ParentMostGarbageCollectedType >::WantToFold().

◆ kHasCustomFinalizerDispatchAtBase

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

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

Referenced by GCInfoFolding< T, ParentMostGarbageCollectedType >::WantToFold().

◆ kHasVirtualDestructorAtBase

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

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

Referenced by GCInfoFolding< T, ParentMostGarbageCollectedType >::WantToFold().

◆ kWantsDetailedObjectNames

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

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