Commit 5a7ecdc2 authored by Praetorius, Simon's avatar Praetorius, Simon
Browse files

Merge branch 'issue/apply-index-sequence' into 'master'

Allow index_sequence as tuple in Ranges::apply

Closes #13

See merge request amdis/amdis!6
parents 433f6737 dfe1ce03
......@@ -35,6 +35,12 @@ namespace AMDiS
template <class F, std::size_t... I>
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