Loading...
Searching...
No Matches
Public Types | Static Public Attributes | List of all members
cppgc::internal::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
 

Member Typedef Documentation

◆ ResultType

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

Member Data Documentation

◆ kBothTypesAreTriviallyDestructible

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

◆ kCheckTypeGuardAlwaysTrue

template<typename T , typename ParentMostGarbageCollectedType >
constexpr bool cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::kCheckTypeGuardAlwaysTrue
staticconstexpr

◆ kHasCustomFinalizerDispatchAtBase

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

◆ kHasVirtualDestructorAtBase

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

◆ kWantsDetailedObjectNames

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

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