15 template<
typename T_Func,
typename T_TupleLike, std::size_t... T_idx>
19 std::index_sequence<T_idx...>)
22 return std::forward<T_Func>(func)(
get<T_idx>(std::forward<T_TupleLike>(tuple))...);
34 template<
typename T_Func,
typename T_TupleLike>
39 std::forward<T_Func>(func),
40 std::forward<T_TupleLike>(tuple),
41 std::make_index_sequence<std::tuple_size<std::decay_t<T_TupleLike>>::value>{});
#define ALPAKA_FN_INLINE
Macro defining the inline function attribute.
ALPAKA_FN_INLINE constexpr decltype(auto) applyImpl(T_Func &&func, T_TupleLike &&tuple, std::index_sequence< T_idx... >)
ALPAKA_FN_INLINE constexpr decltype(auto) apply(T_Func &&func, T_TupleLike &&tuple)
Applies a function to the elements of a tuple-like object.
constexpr decltype(auto) get(concepts::SpecializationOf< Dict > auto &t) noexcept