Loading...
Searching...
No Matches
Public Types | Static Public Member Functions | 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< 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
 

Member Typedef Documentation

◆ ResultType

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

Member Function Documentation

◆ WantToFold()

template<typename T , typename ParentMostGarbageCollectedType >
static constexpr bool cppgc::internal::GCInfoFolding< T, ParentMostGarbageCollectedType >::WantToFold ( )
inlinestaticconstexpr
Here is the call graph for this function:

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

◆ 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: