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

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

#include <BaseTypes.h>

Public Member Functions

append (Args... args)
 Append a new element at the end of the array. (Available only for Base types)
 

Detailed Description

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

Implements Array 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::ArrayAppendFromMake< T, MakeFunc >::append ( Args...  args)
inline

Append a new element at the end of the array. (Available only for Base types)

Returns
The newly created element.