Inherits System::Detail::FuncArgsParser< std::tuple< T... >, std::tuple<> >.
|
template<typename Arg > |
| Func (const Arg &arg) |
|
| Func () |
| Default constructor. More...
|
|
template<class ... T>
class System::Func< T >
Function delegate. This type should be allocated on stack and passed to functions by value or by reference. Never use System::SmartPtr class to manage objects of this type.
◆ Func() [1/2]
template<class ... T>
template<typename Arg >
Initializes function delegate with a function reference.
- Template Parameters
-
Arg | Should be proper specialization of std::function; we don't have valid typename at this point, so use a template instead. |
- Parameters
-
◆ Func() [2/2]