Nazara Engine  0.4
A fast, complete, cross-platform API designed for game development
Nz::FunctorWithArgs< F, Args > Class Template Reference

Core class that represents a functor using a function with arguments. More...

Inherits Nz::Functor.

Public Member Functions

 FunctorWithArgs (F func, Args &&... args)
 Constructs a FunctorWithArgs object with a function and its arguments. More...
 
void Run () override
 Runs the function.
 

Detailed Description

template<typename F, typename... Args>
class Nz::FunctorWithArgs< F, Args >

Core class that represents a functor using a function with arguments.

Constructor & Destructor Documentation

◆ FunctorWithArgs()

template<typename F , typename... Args>
Nz::FunctorWithArgs< F, Args >::FunctorWithArgs ( func,
Args &&...  args 
)

Constructs a FunctorWithArgs object with a function and its arguments.

Parameters
funcFunction to execute
argsArguments for the function

The documentation for this class was generated from the following files: