From ee3c70f6c57b5208841876b29d57bbc7a17edebc Mon Sep 17 00:00:00 2001 From: "d.levin256@gmail.com" Date: Tue, 3 Dec 2019 19:29:40 +0000 Subject: [PATCH] Build time optimizations --- include/kfr/cometa.hpp | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/include/kfr/cometa.hpp b/include/kfr/cometa.hpp index 25025ea3..404485ca 100644 --- a/include/kfr/cometa.hpp +++ b/include/kfr/cometa.hpp @@ -803,18 +803,15 @@ using indicesfor_t = cvalseq_t; template constexpr inline auto scale(csizes_t) CMT_NOEXCEPT { - return concat_lists...>{}; - // return i[csizeseq_t() / csize_t()] * csize_t() + csizeseq_t() % - // csize_t(); + using Tlist = typename details::concat_impl...>::type; + return Tlist{}; } template constexpr inline auto scale() CMT_NOEXCEPT { - return concat_lists...>{}; - // return cconcat(csizeseq_t()...); - // return i[csizeseq_t() / csize_t()] * csize_t() + csizeseq_t() % - // csize_t(); + using Tlist = typename details::concat_impl...>::type; + return Tlist{}; } namespace details