v8 13.6.233 (node 24.1.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
 

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
Initial value:
std::conditional_t<WantToFold(), ParentMostGarbageCollectedType, T>
static constexpr bool WantToFold()
Definition gc-info.h:129

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

Member Function Documentation

◆ WantToFold()

template<typename T, typename ParentMostGarbageCollectedType>
static constexpr bool WantToFold ( )
inlinestaticconstexpr

Field Documentation

◆ kBothTypesAreTriviallyDestructible

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

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

Referenced by WantToFold().

◆ kHasCustomFinalizerDispatchAtBase

template<typename T, typename ParentMostGarbageCollectedType>
bool kHasCustomFinalizerDispatchAtBase
staticconstexpr
Initial value:

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

Referenced by WantToFold().

◆ kHasVirtualDestructorAtBase

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

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

Referenced by WantToFold().

◆ kWantsDetailedObjectNames

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

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

Referenced by WantToFold().


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