Audacity 3.2.0
Public Types | Public Member Functions | List of all members
Track::Executor< Tag, R, ArgumentType > Struct Template Reference

Base case of metafunction implementing Track::TypeSwitch. More...

Public Types

enum  : unsigned { SetUsed = 0 }
 Constant used in a compile-time check. More...
 
using NominalType = ArgumentType
 

Public Member Functions

operator() (const void *,...)
 No functions matched, so do nothing. More...
 

Detailed Description

template<typename Tag, typename R, typename ArgumentType>
struct Track::Executor< Tag, R, ArgumentType >

Base case of metafunction implementing Track::TypeSwitch.

Definition at line 700 of file Track.h.

Member Typedef Documentation

◆ NominalType

template<typename Tag , typename R , typename ArgumentType >
using Track::Executor< Tag, R, ArgumentType >::NominalType = ArgumentType

Definition at line 702 of file Track.h.

Member Enumeration Documentation

◆ anonymous enum

template<typename Tag , typename R , typename ArgumentType >
anonymous enum : unsigned

Constant used in a compile-time check.

Enumerator
SetUsed 

Definition at line 704 of file Track.h.

704: unsigned { SetUsed = 0 };

Member Function Documentation

◆ operator()()

template<typename Tag , typename R , typename ArgumentType >
R Track::Executor< Tag, R, ArgumentType >::operator() ( const void *  ,
  ... 
)
inline

No functions matched, so do nothing.

Definition at line 706 of file Track.h.

707 {
708 if constexpr (std::is_void_v<R>)
709 return;
710 else
711 return R{};
712 }

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