1 #ifndef CommonTools_Utils_LazyResult_h 2 #define CommonTools_Utils_LazyResult_h 43 #include <type_traits> 45 template <
class Func,
class... Args>
62 template <std::size_t... ArgIndices>
72 std::tuple<Args
const&...>
args_;
typename std::invoke_result< Func, Args... >::type Result
LazyResult(Func func, Args const &... args)
void evaluateImpl(std::index_sequence< ArgIndices... >)
std::tuple< Args const &... > args_