Audacity 3.2.0
Public Types | List of all members
Callable::detail::InvocableBase< Invocable > Struct Template Reference

Capture any invocable as a class, using std::function only when needed. More...

#include <Callable.h>

Public Types

using type = typename std::conditional_t< std::is_class_v< Invocable >, Invocable, FunctionInvoker< std::remove_pointer_t< Invocable > > >
 

Detailed Description

template<typename Invocable>
struct Callable::detail::InvocableBase< Invocable >

Capture any invocable as a class, using std::function only when needed.

Definition at line 55 of file Callable.h.

Member Typedef Documentation

◆ type

template<typename Invocable >
using Callable::detail::InvocableBase< Invocable >::type = typename std::conditional_t<std::is_class_v<Invocable>, Invocable, FunctionInvoker<std::remove_pointer_t<Invocable> > >

Definition at line 56 of file Callable.h.


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