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
void evaluateImpl(std::index_sequence< ArgIndices...>)
uint32_t T const *__restrict__ uint32_t const *__restrict__ int32_t int Histo::index_type cudaStream_t Func __host__ __device__ V int Func func
LazyResult(Func func, Args const &...args)
std::tuple< Args const &...> args_