reflection.hpp

Macros and template utilities to help determine details about unknown classes.

Functions

template<typename RETURN, typename ...FUN_ARGS, typename ...CALL_ARGS>
auto SubsetCall(std::function<RETURN(FUN_ARGS...)> fun, CALL_ARGS... args) -> RETURN

Identify the number of parameters in a function and pass in correct number of argument.