MNX Document Model
Loading...
Searching...
No Matches
mnx::detail::DictionaryAppendFromMake< T, MakeFunc > Struct Template Reference

Implements Dictionary append overloads from a type's make(...) signature. More...

#include <BaseTypes.h>

Public Member Functions

append (std::string_view key, Args... args)
 Create a new element using the input key. (Available only for Base types)
 

Detailed Description

template<typename T, typename R, typename... Args, R(*)(Args...) MakeFunc>
struct mnx::detail::DictionaryAppendFromMake< T, MakeFunc >

Implements Dictionary append overloads from a type's make(...) signature.

Member Function Documentation

◆ append()

template<typename T , typename R , typename... Args, R(*)(Args...) MakeFunc>
T mnx::detail::DictionaryAppendFromMake< T, MakeFunc >::append ( std::string_view  key,
Args...  args 
)
inline

Create a new element using the input key. (Available only for Base types)

Returns
The newly created element.