Audacity 3.2.0
Public Types | Public Member Functions | List of all members
TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::Transparent::type Struct Reference

No BaseClass of ArgumentType is acceptable to the first function. More...

#include <TypeSwitch.h>

Public Types

enum  : unsigned { SetUsed = Next::SetUsed << 1 }
 Constant used in a compile-time check. More...
 
using Next = typename Wrapped::type
 

Public Member Functions

operator() (ArgumentType &object, const Functions &functions, Args &&... args) const
 Ignore the first, inapplicable function and try others. More...
 

Detailed Description

template<typename R, typename ArgumentTypes, typename Funs, typename... Args>
template<typename Fs, typename Wrapped>
struct TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::Transparent::type

No BaseClass of ArgumentType is acceptable to the first function.

Definition at line 59 of file TypeSwitch.h.

Member Typedef Documentation

◆ Next

template<typename R , typename ArgumentTypes , typename Funs , typename... Args>
template<typename Fs , typename Wrapped >
using TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::Transparent::type::Next = typename Wrapped::type

Definition at line 60 of file TypeSwitch.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename R , typename ArgumentTypes , typename Funs , typename... Args>
template<typename Fs , typename Wrapped >
anonymous enum : unsigned

Constant used in a compile-time check.

Enumerator
SetUsed 

Definition at line 63 of file TypeSwitch.h.

63: unsigned { SetUsed = Next::SetUsed << 1 };

Member Function Documentation

◆ operator()()

template<typename R , typename ArgumentTypes , typename Funs , typename... Args>
template<typename Fs , typename Wrapped >
R TypeSwitch::detail::Executor< R, ArgumentTypes, Funs, Args >::Combine< Fs, Wrapped >::Transparent::type::operator() ( ArgumentType object,
const Functions functions,
Args &&...  args 
) const
inline

Ignore the first, inapplicable function and try others.

Definition at line 66 of file TypeSwitch.h.

68 {
69 return Next{}(object, Tuple::ForwardNext(functions),
70 std::forward<Args>(args)...);
71 }
auto ForwardNext(Tuple &&tuple)
Forwarding of the tail of a tuple.
Definition: Tuple.h:161

References Tuple::ForwardNext().

Here is the call graph for this function:

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