kfr

Fast, modern C++ DSP framework, FFT, Sample Rate Conversion, FIR/IIR/Biquad Filters (SSE, AVX, AVX-512, ARM NEON)
Log | Files | Refs | README

commit 14528f159dbec9b8c5c114dd961569c2ef34b31d
parent 2eb61cc4208ade2ce12018e132dc90b20682a3e1
Author: [email protected] <[email protected]>
Date:   Sun, 21 Oct 2018 17:46:16 +0300

Replace std::index_sequence by csizes_t

Diffstat:
Minclude/kfr/base/pointer.hpp | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/kfr/base/pointer.hpp b/include/kfr/base/pointer.hpp @@ -241,7 +241,7 @@ namespace internal { template <typename... Args, typename T, size_t key, size_t... indices> KFR_SINTRIN bool substitute(internal::expression_base<Args...>& expr, expression_pointer<T>&& new_pointer, - csize_t<key>, std::index_sequence<indices...>); + csize_t<key>, csizes_t<indices...>); } @@ -258,7 +258,7 @@ KFR_SINTRIN bool substitute(internal::expression_base<Args...>& expr, expression csize_t<key> = csize_t<key>{}) { return internal::substitute(expr, std::move(new_pointer), csize_t<key>{}, - std::index_sequence_for<Args...>{}); + indicesfor_t<Args...>{}); } template <typename T, size_t key = 0> @@ -281,7 +281,7 @@ KFR_SINTRIN bool var_or(bool b, Args... args) template <typename... Args, typename T, size_t key, size_t... indices> KFR_SINTRIN bool substitute(internal::expression_base<Args...>& expr, expression_pointer<T>&& new_pointer, - csize_t<key>, std::index_sequence<indices...>) + csize_t<key>, csizes_t<indices...>) { return var_or(substitute(std::get<indices>(expr.args), std::move(new_pointer), csize_t<key>())...); }