Audacity 3.2.0
Static Public Member Functions | List of all members
Callable::SharedPtrFactory< Type, Arguments > Struct Template Reference

Generates functions useable as non-type template parameters. More...

#include <Callable.h>

Static Public Member Functions

static auto Function (Arguments... arguments) -> std::shared_ptr< Type >
 

Detailed Description

template<typename Type, typename... Arguments>
struct Callable::SharedPtrFactory< Type, Arguments >

Generates functions useable as non-type template parameters.

Definition at line 104 of file Callable.h.

Member Function Documentation

◆ Function()

template<typename Type , typename... Arguments>
static auto Callable::SharedPtrFactory< Type, Arguments >::Function ( Arguments...  arguments) -> std::shared_ptr<Type>
inlinestatic

Definition at line 106 of file Callable.h.

107 {
108 return std::make_shared<Type>(std::forward<Arguments&&>(arguments)...);
109 }

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