Commit b2608f7b authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Allow index_sequence as tuple in Ranges::apply

parent dc27612b
......@@ -35,6 +35,12 @@ namespace AMDiS
template <class F, std::size_t...>
constexpr decltype(auto) apply(F&& f, std::index_sequence<I...> seq)
return Impl_::applyIndicesImpl(FWD(f), index_t<0>{}, seq);
template <class Functor, class... Args>
constexpr decltype(auto) applyVariadic(Functor&& f, Args&&... args)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment