Audacity 3.2.0
Classes | Public Types | List of all members
TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args > Struct Template Reference

Metafunction implementing TypeSwitch. More...

#include <TypeSwitch.h>

Classes

struct  Combine
 
struct  NoOp
 

Public Types

using ArgumentType = Head_t< ArgumentTypes >
 
using type = typename RightFoldList_t< Combine, Funs, NoOp >::type
 

Detailed Description

template<typename R, typename ArgumentTypes, typename Funs, typename... Args>
struct TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >

Metafunction implementing TypeSwitch.

Template Parameters
ArgumentTypesnonempty; more derived types later
Funsthose applicable to more derived types are earlier

Definition at line 35 of file TypeSwitch.h.

Member Typedef Documentation

◆ ArgumentType

template<typename R , typename ArgumentTypes , typename Funs , typename... Args>
using TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::ArgumentType = Head_t<ArgumentTypes>

Definition at line 37 of file TypeSwitch.h.

◆ type

template<typename R , typename ArgumentTypes , typename Funs , typename... Args>
using TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::type = typename RightFoldList_t<Combine, Funs, NoOp>::type

Definition at line 153 of file TypeSwitch.h.


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