tfel
Loading...
Searching...
No Matches
tfel::meta::TLExtractSubClassesOf< TList, BaseType > Class Template Reference

A metafunction which returns a new typelist from a typelist. All types in the new typelist inherit from the type given in argument. More...

#include </home/runner/work/tfel/tfel/include/TFEL/Metaprogramming/TypeList.hxx>

Public Types

using type
 the result of the metafunction.

Detailed Description

template<typename TList, typename BaseType>
class tfel::meta::TLExtractSubClassesOf< TList, BaseType >

A metafunction which returns a new typelist from a typelist. All types in the new typelist inherit from the type given in argument.

Parameters
List,aTL.
BaseType,atype.
Returns
type, a new typelist.
Author
Thomas Helfer
Date
09/09/2006

Member Typedef Documentation

◆ type

template<typename TList, typename BaseType>
using tfel::meta::TLExtractSubClassesOf< TList, BaseType >::type
Initial value:
std::conditional_t<
std::is_base_of_v<BaseType, typename TList::Current>,
TLNode<typename TList::Current,
typename TLExtractSubClassesOf<typename TList::Next,
BaseType>::type>,
A metafunction which returns a new typelist from a typelist. All types in the new typelist inherit fr...
Definition TypeList.ixx:286
std::conditional_t< std::is_base_of_v< BaseType, typename TList::Current >, TLNode< typename TList::Current, typename TLExtractSubClassesOf< typename TList::Next, BaseType >::type >, typename TLExtractSubClassesOf< typename TList::Next, BaseType >::type > type
the result of the metafunction.
Definition TypeList.ixx:289
Nodes of TL. TLs are simply linked list of types. This class describe its nodes.
Definition TypeList.ixx:30

the result of the metafunction.


The documentation for this class was generated from the following files: