reflection.hpp

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

This file is part of Empirical, https://github.com/devosoft/Empirical Copyright (C) 2016-2018 Michigan State University MIT Software license; see doc/LICENSE.md

Defines

INCLUDE_EMP_META_REFLECTION_HPP_GUARD

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.