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

#include <gc-info.h>

Collaboration diagram for cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >:

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 cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::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 cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::WantToFold ( )
inlinestaticconstexpr

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

Member Data Documentation

◆ kBothTypesAreTriviallyDestructible

template<typename T , typename ParentMostGarbageCollectedType >
bool cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::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.

◆ kHasCustomFinalizerDispatchAtBase

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

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

◆ kHasVirtualDestructorAtBase

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

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

◆ kWantsDetailedObjectNames

template<typename T , typename ParentMostGarbageCollectedType >
bool cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::kWantsDetailedObjectNames = false
staticconstexpr

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


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