Audacity 3.2.0
|
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 > > > |
Capture any invocable as a class, using std::function only when needed.
Definition at line 55 of file Callable.h.
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.