swift
Loading...
Searching...
No Matches
swift::misc::TMetaBaseOf< T > Struct Template Reference

It T has a member typedef base_type which is a registered metatype, this trait will obtain it, otherwise void. More...

#include <inheritancetraits.h>

Public Types

using type = std::conditional_t<THasMetaBaseV<T>, typename TBaseOf<T>::type, void>
 Type of T::base_type, or void if not declared.

Detailed Description

template<class T>
struct swift::misc::TMetaBaseOf< T >

It T has a member typedef base_type which is a registered metatype, this trait will obtain it, otherwise void.

Definition at line 44 of file inheritancetraits.h.

Member Typedef Documentation

◆ type

template<class T>
using swift::misc::TMetaBaseOf< T >::type = std::conditional_t<THasMetaBaseV<T>, typename TBaseOf<T>::type, void>

Type of T::base_type, or void if not declared.

Definition at line 47 of file inheritancetraits.h.


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