Skip to content

izirayd/Function-Invoke

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Function-Invoke c++ std11

Function Invoke it special list function and it name function, which can be run(invoke). Special feature is no arguments.

Function-Invoke its good release, because it use minimum code. Analog Function Pointer, but Function Pointer have problem with create type for function with style ( typedef std::function<void(int32_t)> func_int32_t; ) and it only for methods void Foo(int32_t bar); More argument, more code it bad. Function-Invoke dont use Function Pointer types, dont create problem with creating types.

Class: std::function_invoke Class: std::any

For add function in list function, use method AddFunction(string Name, Function). For run function, use method Invoke(string Name, ...).

Example

Example Img

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages